All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lyft.pgv.validate.Validate Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: validate/validate.proto

package com.lyft.pgv.validate;

public final class Validate {
  private Validate() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
    registry.add(com.lyft.pgv.validate.Validate.disabled);
    registry.add(com.lyft.pgv.validate.Validate.required);
    registry.add(com.lyft.pgv.validate.Validate.rules);
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface FieldRulesOrBuilder extends
      // @@protoc_insertion_point(interface_extends:validate.FieldRules)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Scalar Field Types
     * 
* * optional .validate.FloatRules float = 1; */ boolean hasFloat(); /** *
     * Scalar Field Types
     * 
* * optional .validate.FloatRules float = 1; */ com.lyft.pgv.validate.Validate.FloatRules getFloat(); /** *
     * Scalar Field Types
     * 
* * optional .validate.FloatRules float = 1; */ com.lyft.pgv.validate.Validate.FloatRulesOrBuilder getFloatOrBuilder(); /** * optional .validate.DoubleRules double = 2; */ boolean hasDouble(); /** * optional .validate.DoubleRules double = 2; */ com.lyft.pgv.validate.Validate.DoubleRules getDouble(); /** * optional .validate.DoubleRules double = 2; */ com.lyft.pgv.validate.Validate.DoubleRulesOrBuilder getDoubleOrBuilder(); /** * optional .validate.Int32Rules int32 = 3; */ boolean hasInt32(); /** * optional .validate.Int32Rules int32 = 3; */ com.lyft.pgv.validate.Validate.Int32Rules getInt32(); /** * optional .validate.Int32Rules int32 = 3; */ com.lyft.pgv.validate.Validate.Int32RulesOrBuilder getInt32OrBuilder(); /** * optional .validate.Int64Rules int64 = 4; */ boolean hasInt64(); /** * optional .validate.Int64Rules int64 = 4; */ com.lyft.pgv.validate.Validate.Int64Rules getInt64(); /** * optional .validate.Int64Rules int64 = 4; */ com.lyft.pgv.validate.Validate.Int64RulesOrBuilder getInt64OrBuilder(); /** * optional .validate.UInt32Rules uint32 = 5; */ boolean hasUint32(); /** * optional .validate.UInt32Rules uint32 = 5; */ com.lyft.pgv.validate.Validate.UInt32Rules getUint32(); /** * optional .validate.UInt32Rules uint32 = 5; */ com.lyft.pgv.validate.Validate.UInt32RulesOrBuilder getUint32OrBuilder(); /** * optional .validate.UInt64Rules uint64 = 6; */ boolean hasUint64(); /** * optional .validate.UInt64Rules uint64 = 6; */ com.lyft.pgv.validate.Validate.UInt64Rules getUint64(); /** * optional .validate.UInt64Rules uint64 = 6; */ com.lyft.pgv.validate.Validate.UInt64RulesOrBuilder getUint64OrBuilder(); /** * optional .validate.SInt32Rules sint32 = 7; */ boolean hasSint32(); /** * optional .validate.SInt32Rules sint32 = 7; */ com.lyft.pgv.validate.Validate.SInt32Rules getSint32(); /** * optional .validate.SInt32Rules sint32 = 7; */ com.lyft.pgv.validate.Validate.SInt32RulesOrBuilder getSint32OrBuilder(); /** * optional .validate.SInt64Rules sint64 = 8; */ boolean hasSint64(); /** * optional .validate.SInt64Rules sint64 = 8; */ com.lyft.pgv.validate.Validate.SInt64Rules getSint64(); /** * optional .validate.SInt64Rules sint64 = 8; */ com.lyft.pgv.validate.Validate.SInt64RulesOrBuilder getSint64OrBuilder(); /** * optional .validate.Fixed32Rules fixed32 = 9; */ boolean hasFixed32(); /** * optional .validate.Fixed32Rules fixed32 = 9; */ com.lyft.pgv.validate.Validate.Fixed32Rules getFixed32(); /** * optional .validate.Fixed32Rules fixed32 = 9; */ com.lyft.pgv.validate.Validate.Fixed32RulesOrBuilder getFixed32OrBuilder(); /** * optional .validate.Fixed64Rules fixed64 = 10; */ boolean hasFixed64(); /** * optional .validate.Fixed64Rules fixed64 = 10; */ com.lyft.pgv.validate.Validate.Fixed64Rules getFixed64(); /** * optional .validate.Fixed64Rules fixed64 = 10; */ com.lyft.pgv.validate.Validate.Fixed64RulesOrBuilder getFixed64OrBuilder(); /** * optional .validate.SFixed32Rules sfixed32 = 11; */ boolean hasSfixed32(); /** * optional .validate.SFixed32Rules sfixed32 = 11; */ com.lyft.pgv.validate.Validate.SFixed32Rules getSfixed32(); /** * optional .validate.SFixed32Rules sfixed32 = 11; */ com.lyft.pgv.validate.Validate.SFixed32RulesOrBuilder getSfixed32OrBuilder(); /** * optional .validate.SFixed64Rules sfixed64 = 12; */ boolean hasSfixed64(); /** * optional .validate.SFixed64Rules sfixed64 = 12; */ com.lyft.pgv.validate.Validate.SFixed64Rules getSfixed64(); /** * optional .validate.SFixed64Rules sfixed64 = 12; */ com.lyft.pgv.validate.Validate.SFixed64RulesOrBuilder getSfixed64OrBuilder(); /** * optional .validate.BoolRules bool = 13; */ boolean hasBool(); /** * optional .validate.BoolRules bool = 13; */ com.lyft.pgv.validate.Validate.BoolRules getBool(); /** * optional .validate.BoolRules bool = 13; */ com.lyft.pgv.validate.Validate.BoolRulesOrBuilder getBoolOrBuilder(); /** * optional .validate.StringRules string = 14; */ boolean hasString(); /** * optional .validate.StringRules string = 14; */ com.lyft.pgv.validate.Validate.StringRules getString(); /** * optional .validate.StringRules string = 14; */ com.lyft.pgv.validate.Validate.StringRulesOrBuilder getStringOrBuilder(); /** * optional .validate.BytesRules bytes = 15; */ boolean hasBytes(); /** * optional .validate.BytesRules bytes = 15; */ com.lyft.pgv.validate.Validate.BytesRules getBytes(); /** * optional .validate.BytesRules bytes = 15; */ com.lyft.pgv.validate.Validate.BytesRulesOrBuilder getBytesOrBuilder(); /** *
     * Complex Field Types
     * 
* * optional .validate.EnumRules enum = 16; */ boolean hasEnum(); /** *
     * Complex Field Types
     * 
* * optional .validate.EnumRules enum = 16; */ com.lyft.pgv.validate.Validate.EnumRules getEnum(); /** *
     * Complex Field Types
     * 
* * optional .validate.EnumRules enum = 16; */ com.lyft.pgv.validate.Validate.EnumRulesOrBuilder getEnumOrBuilder(); /** * optional .validate.MessageRules message = 17; */ boolean hasMessage(); /** * optional .validate.MessageRules message = 17; */ com.lyft.pgv.validate.Validate.MessageRules getMessage(); /** * optional .validate.MessageRules message = 17; */ com.lyft.pgv.validate.Validate.MessageRulesOrBuilder getMessageOrBuilder(); /** * optional .validate.RepeatedRules repeated = 18; */ boolean hasRepeated(); /** * optional .validate.RepeatedRules repeated = 18; */ com.lyft.pgv.validate.Validate.RepeatedRules getRepeated(); /** * optional .validate.RepeatedRules repeated = 18; */ com.lyft.pgv.validate.Validate.RepeatedRulesOrBuilder getRepeatedOrBuilder(); /** * optional .validate.MapRules map = 19; */ boolean hasMap(); /** * optional .validate.MapRules map = 19; */ com.lyft.pgv.validate.Validate.MapRules getMap(); /** * optional .validate.MapRules map = 19; */ com.lyft.pgv.validate.Validate.MapRulesOrBuilder getMapOrBuilder(); /** *
     * Well-Known Field Types
     * 
* * optional .validate.AnyRules any = 20; */ boolean hasAny(); /** *
     * Well-Known Field Types
     * 
* * optional .validate.AnyRules any = 20; */ com.lyft.pgv.validate.Validate.AnyRules getAny(); /** *
     * Well-Known Field Types
     * 
* * optional .validate.AnyRules any = 20; */ com.lyft.pgv.validate.Validate.AnyRulesOrBuilder getAnyOrBuilder(); /** * optional .validate.DurationRules duration = 21; */ boolean hasDuration(); /** * optional .validate.DurationRules duration = 21; */ com.lyft.pgv.validate.Validate.DurationRules getDuration(); /** * optional .validate.DurationRules duration = 21; */ com.lyft.pgv.validate.Validate.DurationRulesOrBuilder getDurationOrBuilder(); /** * optional .validate.TimestampRules timestamp = 22; */ boolean hasTimestamp(); /** * optional .validate.TimestampRules timestamp = 22; */ com.lyft.pgv.validate.Validate.TimestampRules getTimestamp(); /** * optional .validate.TimestampRules timestamp = 22; */ com.lyft.pgv.validate.Validate.TimestampRulesOrBuilder getTimestampOrBuilder(); public com.lyft.pgv.validate.Validate.FieldRules.TypeCase getTypeCase(); } /** *
   * FieldRules encapsulates the rules for each type of field. Depending on the
   * field, the correct set should be used to ensure proper validations.
   * 
* * Protobuf type {@code validate.FieldRules} */ public static final class FieldRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.FieldRules) FieldRulesOrBuilder { private static final long serialVersionUID = 0L; // Use FieldRules.newBuilder() to construct. private FieldRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FieldRules() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FieldRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FieldRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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: { com.lyft.pgv.validate.Validate.FloatRules.Builder subBuilder = null; if (typeCase_ == 1) { subBuilder = ((com.lyft.pgv.validate.Validate.FloatRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.FloatRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.FloatRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 1; break; } case 18: { com.lyft.pgv.validate.Validate.DoubleRules.Builder subBuilder = null; if (typeCase_ == 2) { subBuilder = ((com.lyft.pgv.validate.Validate.DoubleRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.DoubleRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.DoubleRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 2; break; } case 26: { com.lyft.pgv.validate.Validate.Int32Rules.Builder subBuilder = null; if (typeCase_ == 3) { subBuilder = ((com.lyft.pgv.validate.Validate.Int32Rules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.Int32Rules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.Int32Rules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 3; break; } case 34: { com.lyft.pgv.validate.Validate.Int64Rules.Builder subBuilder = null; if (typeCase_ == 4) { subBuilder = ((com.lyft.pgv.validate.Validate.Int64Rules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.Int64Rules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.Int64Rules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 4; break; } case 42: { com.lyft.pgv.validate.Validate.UInt32Rules.Builder subBuilder = null; if (typeCase_ == 5) { subBuilder = ((com.lyft.pgv.validate.Validate.UInt32Rules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.UInt32Rules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.UInt32Rules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 5; break; } case 50: { com.lyft.pgv.validate.Validate.UInt64Rules.Builder subBuilder = null; if (typeCase_ == 6) { subBuilder = ((com.lyft.pgv.validate.Validate.UInt64Rules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.UInt64Rules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.UInt64Rules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 6; break; } case 58: { com.lyft.pgv.validate.Validate.SInt32Rules.Builder subBuilder = null; if (typeCase_ == 7) { subBuilder = ((com.lyft.pgv.validate.Validate.SInt32Rules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.SInt32Rules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.SInt32Rules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 7; break; } case 66: { com.lyft.pgv.validate.Validate.SInt64Rules.Builder subBuilder = null; if (typeCase_ == 8) { subBuilder = ((com.lyft.pgv.validate.Validate.SInt64Rules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.SInt64Rules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.SInt64Rules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 8; break; } case 74: { com.lyft.pgv.validate.Validate.Fixed32Rules.Builder subBuilder = null; if (typeCase_ == 9) { subBuilder = ((com.lyft.pgv.validate.Validate.Fixed32Rules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.Fixed32Rules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.Fixed32Rules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 9; break; } case 82: { com.lyft.pgv.validate.Validate.Fixed64Rules.Builder subBuilder = null; if (typeCase_ == 10) { subBuilder = ((com.lyft.pgv.validate.Validate.Fixed64Rules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.Fixed64Rules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.Fixed64Rules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 10; break; } case 90: { com.lyft.pgv.validate.Validate.SFixed32Rules.Builder subBuilder = null; if (typeCase_ == 11) { subBuilder = ((com.lyft.pgv.validate.Validate.SFixed32Rules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.SFixed32Rules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.SFixed32Rules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 11; break; } case 98: { com.lyft.pgv.validate.Validate.SFixed64Rules.Builder subBuilder = null; if (typeCase_ == 12) { subBuilder = ((com.lyft.pgv.validate.Validate.SFixed64Rules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.SFixed64Rules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.SFixed64Rules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 12; break; } case 106: { com.lyft.pgv.validate.Validate.BoolRules.Builder subBuilder = null; if (typeCase_ == 13) { subBuilder = ((com.lyft.pgv.validate.Validate.BoolRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.BoolRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.BoolRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 13; break; } case 114: { com.lyft.pgv.validate.Validate.StringRules.Builder subBuilder = null; if (typeCase_ == 14) { subBuilder = ((com.lyft.pgv.validate.Validate.StringRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.StringRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.StringRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 14; break; } case 122: { com.lyft.pgv.validate.Validate.BytesRules.Builder subBuilder = null; if (typeCase_ == 15) { subBuilder = ((com.lyft.pgv.validate.Validate.BytesRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.BytesRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.BytesRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 15; break; } case 130: { com.lyft.pgv.validate.Validate.EnumRules.Builder subBuilder = null; if (typeCase_ == 16) { subBuilder = ((com.lyft.pgv.validate.Validate.EnumRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.EnumRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.EnumRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 16; break; } case 138: { com.lyft.pgv.validate.Validate.MessageRules.Builder subBuilder = null; if (typeCase_ == 17) { subBuilder = ((com.lyft.pgv.validate.Validate.MessageRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.MessageRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.MessageRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 17; break; } case 146: { com.lyft.pgv.validate.Validate.RepeatedRules.Builder subBuilder = null; if (typeCase_ == 18) { subBuilder = ((com.lyft.pgv.validate.Validate.RepeatedRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.RepeatedRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.RepeatedRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 18; break; } case 154: { com.lyft.pgv.validate.Validate.MapRules.Builder subBuilder = null; if (typeCase_ == 19) { subBuilder = ((com.lyft.pgv.validate.Validate.MapRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.MapRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.MapRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 19; break; } case 162: { com.lyft.pgv.validate.Validate.AnyRules.Builder subBuilder = null; if (typeCase_ == 20) { subBuilder = ((com.lyft.pgv.validate.Validate.AnyRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.AnyRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.AnyRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 20; break; } case 170: { com.lyft.pgv.validate.Validate.DurationRules.Builder subBuilder = null; if (typeCase_ == 21) { subBuilder = ((com.lyft.pgv.validate.Validate.DurationRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.DurationRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.DurationRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 21; break; } case 178: { com.lyft.pgv.validate.Validate.TimestampRules.Builder subBuilder = null; if (typeCase_ == 22) { subBuilder = ((com.lyft.pgv.validate.Validate.TimestampRules) type_).toBuilder(); } type_ = input.readMessage(com.lyft.pgv.validate.Validate.TimestampRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.lyft.pgv.validate.Validate.TimestampRules) type_); type_ = subBuilder.buildPartial(); } typeCase_ = 22; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.lyft.pgv.validate.Validate.internal_static_validate_FieldRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_FieldRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.FieldRules.class, com.lyft.pgv.validate.Validate.FieldRules.Builder.class); } private int bitField0_; private int typeCase_ = 0; private java.lang.Object type_; public enum TypeCase implements com.google.protobuf.Internal.EnumLite { FLOAT(1), DOUBLE(2), INT32(3), INT64(4), UINT32(5), UINT64(6), SINT32(7), SINT64(8), FIXED32(9), FIXED64(10), SFIXED32(11), SFIXED64(12), BOOL(13), STRING(14), BYTES(15), ENUM(16), MESSAGE(17), REPEATED(18), MAP(19), ANY(20), DURATION(21), TIMESTAMP(22), TYPE_NOT_SET(0); private final int value; private TypeCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TypeCase valueOf(int value) { return forNumber(value); } public static TypeCase forNumber(int value) { switch (value) { case 1: return FLOAT; case 2: return DOUBLE; case 3: return INT32; case 4: return INT64; case 5: return UINT32; case 6: return UINT64; case 7: return SINT32; case 8: return SINT64; case 9: return FIXED32; case 10: return FIXED64; case 11: return SFIXED32; case 12: return SFIXED64; case 13: return BOOL; case 14: return STRING; case 15: return BYTES; case 16: return ENUM; case 17: return MESSAGE; case 18: return REPEATED; case 19: return MAP; case 20: return ANY; case 21: return DURATION; case 22: return TIMESTAMP; case 0: return TYPE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public TypeCase getTypeCase() { return TypeCase.forNumber( typeCase_); } public static final int FLOAT_FIELD_NUMBER = 1; /** *
     * Scalar Field Types
     * 
* * optional .validate.FloatRules float = 1; */ public boolean hasFloat() { return typeCase_ == 1; } /** *
     * Scalar Field Types
     * 
* * optional .validate.FloatRules float = 1; */ public com.lyft.pgv.validate.Validate.FloatRules getFloat() { if (typeCase_ == 1) { return (com.lyft.pgv.validate.Validate.FloatRules) type_; } return com.lyft.pgv.validate.Validate.FloatRules.getDefaultInstance(); } /** *
     * Scalar Field Types
     * 
* * optional .validate.FloatRules float = 1; */ public com.lyft.pgv.validate.Validate.FloatRulesOrBuilder getFloatOrBuilder() { if (typeCase_ == 1) { return (com.lyft.pgv.validate.Validate.FloatRules) type_; } return com.lyft.pgv.validate.Validate.FloatRules.getDefaultInstance(); } public static final int DOUBLE_FIELD_NUMBER = 2; /** * optional .validate.DoubleRules double = 2; */ public boolean hasDouble() { return typeCase_ == 2; } /** * optional .validate.DoubleRules double = 2; */ public com.lyft.pgv.validate.Validate.DoubleRules getDouble() { if (typeCase_ == 2) { return (com.lyft.pgv.validate.Validate.DoubleRules) type_; } return com.lyft.pgv.validate.Validate.DoubleRules.getDefaultInstance(); } /** * optional .validate.DoubleRules double = 2; */ public com.lyft.pgv.validate.Validate.DoubleRulesOrBuilder getDoubleOrBuilder() { if (typeCase_ == 2) { return (com.lyft.pgv.validate.Validate.DoubleRules) type_; } return com.lyft.pgv.validate.Validate.DoubleRules.getDefaultInstance(); } public static final int INT32_FIELD_NUMBER = 3; /** * optional .validate.Int32Rules int32 = 3; */ public boolean hasInt32() { return typeCase_ == 3; } /** * optional .validate.Int32Rules int32 = 3; */ public com.lyft.pgv.validate.Validate.Int32Rules getInt32() { if (typeCase_ == 3) { return (com.lyft.pgv.validate.Validate.Int32Rules) type_; } return com.lyft.pgv.validate.Validate.Int32Rules.getDefaultInstance(); } /** * optional .validate.Int32Rules int32 = 3; */ public com.lyft.pgv.validate.Validate.Int32RulesOrBuilder getInt32OrBuilder() { if (typeCase_ == 3) { return (com.lyft.pgv.validate.Validate.Int32Rules) type_; } return com.lyft.pgv.validate.Validate.Int32Rules.getDefaultInstance(); } public static final int INT64_FIELD_NUMBER = 4; /** * optional .validate.Int64Rules int64 = 4; */ public boolean hasInt64() { return typeCase_ == 4; } /** * optional .validate.Int64Rules int64 = 4; */ public com.lyft.pgv.validate.Validate.Int64Rules getInt64() { if (typeCase_ == 4) { return (com.lyft.pgv.validate.Validate.Int64Rules) type_; } return com.lyft.pgv.validate.Validate.Int64Rules.getDefaultInstance(); } /** * optional .validate.Int64Rules int64 = 4; */ public com.lyft.pgv.validate.Validate.Int64RulesOrBuilder getInt64OrBuilder() { if (typeCase_ == 4) { return (com.lyft.pgv.validate.Validate.Int64Rules) type_; } return com.lyft.pgv.validate.Validate.Int64Rules.getDefaultInstance(); } public static final int UINT32_FIELD_NUMBER = 5; /** * optional .validate.UInt32Rules uint32 = 5; */ public boolean hasUint32() { return typeCase_ == 5; } /** * optional .validate.UInt32Rules uint32 = 5; */ public com.lyft.pgv.validate.Validate.UInt32Rules getUint32() { if (typeCase_ == 5) { return (com.lyft.pgv.validate.Validate.UInt32Rules) type_; } return com.lyft.pgv.validate.Validate.UInt32Rules.getDefaultInstance(); } /** * optional .validate.UInt32Rules uint32 = 5; */ public com.lyft.pgv.validate.Validate.UInt32RulesOrBuilder getUint32OrBuilder() { if (typeCase_ == 5) { return (com.lyft.pgv.validate.Validate.UInt32Rules) type_; } return com.lyft.pgv.validate.Validate.UInt32Rules.getDefaultInstance(); } public static final int UINT64_FIELD_NUMBER = 6; /** * optional .validate.UInt64Rules uint64 = 6; */ public boolean hasUint64() { return typeCase_ == 6; } /** * optional .validate.UInt64Rules uint64 = 6; */ public com.lyft.pgv.validate.Validate.UInt64Rules getUint64() { if (typeCase_ == 6) { return (com.lyft.pgv.validate.Validate.UInt64Rules) type_; } return com.lyft.pgv.validate.Validate.UInt64Rules.getDefaultInstance(); } /** * optional .validate.UInt64Rules uint64 = 6; */ public com.lyft.pgv.validate.Validate.UInt64RulesOrBuilder getUint64OrBuilder() { if (typeCase_ == 6) { return (com.lyft.pgv.validate.Validate.UInt64Rules) type_; } return com.lyft.pgv.validate.Validate.UInt64Rules.getDefaultInstance(); } public static final int SINT32_FIELD_NUMBER = 7; /** * optional .validate.SInt32Rules sint32 = 7; */ public boolean hasSint32() { return typeCase_ == 7; } /** * optional .validate.SInt32Rules sint32 = 7; */ public com.lyft.pgv.validate.Validate.SInt32Rules getSint32() { if (typeCase_ == 7) { return (com.lyft.pgv.validate.Validate.SInt32Rules) type_; } return com.lyft.pgv.validate.Validate.SInt32Rules.getDefaultInstance(); } /** * optional .validate.SInt32Rules sint32 = 7; */ public com.lyft.pgv.validate.Validate.SInt32RulesOrBuilder getSint32OrBuilder() { if (typeCase_ == 7) { return (com.lyft.pgv.validate.Validate.SInt32Rules) type_; } return com.lyft.pgv.validate.Validate.SInt32Rules.getDefaultInstance(); } public static final int SINT64_FIELD_NUMBER = 8; /** * optional .validate.SInt64Rules sint64 = 8; */ public boolean hasSint64() { return typeCase_ == 8; } /** * optional .validate.SInt64Rules sint64 = 8; */ public com.lyft.pgv.validate.Validate.SInt64Rules getSint64() { if (typeCase_ == 8) { return (com.lyft.pgv.validate.Validate.SInt64Rules) type_; } return com.lyft.pgv.validate.Validate.SInt64Rules.getDefaultInstance(); } /** * optional .validate.SInt64Rules sint64 = 8; */ public com.lyft.pgv.validate.Validate.SInt64RulesOrBuilder getSint64OrBuilder() { if (typeCase_ == 8) { return (com.lyft.pgv.validate.Validate.SInt64Rules) type_; } return com.lyft.pgv.validate.Validate.SInt64Rules.getDefaultInstance(); } public static final int FIXED32_FIELD_NUMBER = 9; /** * optional .validate.Fixed32Rules fixed32 = 9; */ public boolean hasFixed32() { return typeCase_ == 9; } /** * optional .validate.Fixed32Rules fixed32 = 9; */ public com.lyft.pgv.validate.Validate.Fixed32Rules getFixed32() { if (typeCase_ == 9) { return (com.lyft.pgv.validate.Validate.Fixed32Rules) type_; } return com.lyft.pgv.validate.Validate.Fixed32Rules.getDefaultInstance(); } /** * optional .validate.Fixed32Rules fixed32 = 9; */ public com.lyft.pgv.validate.Validate.Fixed32RulesOrBuilder getFixed32OrBuilder() { if (typeCase_ == 9) { return (com.lyft.pgv.validate.Validate.Fixed32Rules) type_; } return com.lyft.pgv.validate.Validate.Fixed32Rules.getDefaultInstance(); } public static final int FIXED64_FIELD_NUMBER = 10; /** * optional .validate.Fixed64Rules fixed64 = 10; */ public boolean hasFixed64() { return typeCase_ == 10; } /** * optional .validate.Fixed64Rules fixed64 = 10; */ public com.lyft.pgv.validate.Validate.Fixed64Rules getFixed64() { if (typeCase_ == 10) { return (com.lyft.pgv.validate.Validate.Fixed64Rules) type_; } return com.lyft.pgv.validate.Validate.Fixed64Rules.getDefaultInstance(); } /** * optional .validate.Fixed64Rules fixed64 = 10; */ public com.lyft.pgv.validate.Validate.Fixed64RulesOrBuilder getFixed64OrBuilder() { if (typeCase_ == 10) { return (com.lyft.pgv.validate.Validate.Fixed64Rules) type_; } return com.lyft.pgv.validate.Validate.Fixed64Rules.getDefaultInstance(); } public static final int SFIXED32_FIELD_NUMBER = 11; /** * optional .validate.SFixed32Rules sfixed32 = 11; */ public boolean hasSfixed32() { return typeCase_ == 11; } /** * optional .validate.SFixed32Rules sfixed32 = 11; */ public com.lyft.pgv.validate.Validate.SFixed32Rules getSfixed32() { if (typeCase_ == 11) { return (com.lyft.pgv.validate.Validate.SFixed32Rules) type_; } return com.lyft.pgv.validate.Validate.SFixed32Rules.getDefaultInstance(); } /** * optional .validate.SFixed32Rules sfixed32 = 11; */ public com.lyft.pgv.validate.Validate.SFixed32RulesOrBuilder getSfixed32OrBuilder() { if (typeCase_ == 11) { return (com.lyft.pgv.validate.Validate.SFixed32Rules) type_; } return com.lyft.pgv.validate.Validate.SFixed32Rules.getDefaultInstance(); } public static final int SFIXED64_FIELD_NUMBER = 12; /** * optional .validate.SFixed64Rules sfixed64 = 12; */ public boolean hasSfixed64() { return typeCase_ == 12; } /** * optional .validate.SFixed64Rules sfixed64 = 12; */ public com.lyft.pgv.validate.Validate.SFixed64Rules getSfixed64() { if (typeCase_ == 12) { return (com.lyft.pgv.validate.Validate.SFixed64Rules) type_; } return com.lyft.pgv.validate.Validate.SFixed64Rules.getDefaultInstance(); } /** * optional .validate.SFixed64Rules sfixed64 = 12; */ public com.lyft.pgv.validate.Validate.SFixed64RulesOrBuilder getSfixed64OrBuilder() { if (typeCase_ == 12) { return (com.lyft.pgv.validate.Validate.SFixed64Rules) type_; } return com.lyft.pgv.validate.Validate.SFixed64Rules.getDefaultInstance(); } public static final int BOOL_FIELD_NUMBER = 13; /** * optional .validate.BoolRules bool = 13; */ public boolean hasBool() { return typeCase_ == 13; } /** * optional .validate.BoolRules bool = 13; */ public com.lyft.pgv.validate.Validate.BoolRules getBool() { if (typeCase_ == 13) { return (com.lyft.pgv.validate.Validate.BoolRules) type_; } return com.lyft.pgv.validate.Validate.BoolRules.getDefaultInstance(); } /** * optional .validate.BoolRules bool = 13; */ public com.lyft.pgv.validate.Validate.BoolRulesOrBuilder getBoolOrBuilder() { if (typeCase_ == 13) { return (com.lyft.pgv.validate.Validate.BoolRules) type_; } return com.lyft.pgv.validate.Validate.BoolRules.getDefaultInstance(); } public static final int STRING_FIELD_NUMBER = 14; /** * optional .validate.StringRules string = 14; */ public boolean hasString() { return typeCase_ == 14; } /** * optional .validate.StringRules string = 14; */ public com.lyft.pgv.validate.Validate.StringRules getString() { if (typeCase_ == 14) { return (com.lyft.pgv.validate.Validate.StringRules) type_; } return com.lyft.pgv.validate.Validate.StringRules.getDefaultInstance(); } /** * optional .validate.StringRules string = 14; */ public com.lyft.pgv.validate.Validate.StringRulesOrBuilder getStringOrBuilder() { if (typeCase_ == 14) { return (com.lyft.pgv.validate.Validate.StringRules) type_; } return com.lyft.pgv.validate.Validate.StringRules.getDefaultInstance(); } public static final int BYTES_FIELD_NUMBER = 15; /** * optional .validate.BytesRules bytes = 15; */ public boolean hasBytes() { return typeCase_ == 15; } /** * optional .validate.BytesRules bytes = 15; */ public com.lyft.pgv.validate.Validate.BytesRules getBytes() { if (typeCase_ == 15) { return (com.lyft.pgv.validate.Validate.BytesRules) type_; } return com.lyft.pgv.validate.Validate.BytesRules.getDefaultInstance(); } /** * optional .validate.BytesRules bytes = 15; */ public com.lyft.pgv.validate.Validate.BytesRulesOrBuilder getBytesOrBuilder() { if (typeCase_ == 15) { return (com.lyft.pgv.validate.Validate.BytesRules) type_; } return com.lyft.pgv.validate.Validate.BytesRules.getDefaultInstance(); } public static final int ENUM_FIELD_NUMBER = 16; /** *
     * Complex Field Types
     * 
* * optional .validate.EnumRules enum = 16; */ public boolean hasEnum() { return typeCase_ == 16; } /** *
     * Complex Field Types
     * 
* * optional .validate.EnumRules enum = 16; */ public com.lyft.pgv.validate.Validate.EnumRules getEnum() { if (typeCase_ == 16) { return (com.lyft.pgv.validate.Validate.EnumRules) type_; } return com.lyft.pgv.validate.Validate.EnumRules.getDefaultInstance(); } /** *
     * Complex Field Types
     * 
* * optional .validate.EnumRules enum = 16; */ public com.lyft.pgv.validate.Validate.EnumRulesOrBuilder getEnumOrBuilder() { if (typeCase_ == 16) { return (com.lyft.pgv.validate.Validate.EnumRules) type_; } return com.lyft.pgv.validate.Validate.EnumRules.getDefaultInstance(); } public static final int MESSAGE_FIELD_NUMBER = 17; /** * optional .validate.MessageRules message = 17; */ public boolean hasMessage() { return typeCase_ == 17; } /** * optional .validate.MessageRules message = 17; */ public com.lyft.pgv.validate.Validate.MessageRules getMessage() { if (typeCase_ == 17) { return (com.lyft.pgv.validate.Validate.MessageRules) type_; } return com.lyft.pgv.validate.Validate.MessageRules.getDefaultInstance(); } /** * optional .validate.MessageRules message = 17; */ public com.lyft.pgv.validate.Validate.MessageRulesOrBuilder getMessageOrBuilder() { if (typeCase_ == 17) { return (com.lyft.pgv.validate.Validate.MessageRules) type_; } return com.lyft.pgv.validate.Validate.MessageRules.getDefaultInstance(); } public static final int REPEATED_FIELD_NUMBER = 18; /** * optional .validate.RepeatedRules repeated = 18; */ public boolean hasRepeated() { return typeCase_ == 18; } /** * optional .validate.RepeatedRules repeated = 18; */ public com.lyft.pgv.validate.Validate.RepeatedRules getRepeated() { if (typeCase_ == 18) { return (com.lyft.pgv.validate.Validate.RepeatedRules) type_; } return com.lyft.pgv.validate.Validate.RepeatedRules.getDefaultInstance(); } /** * optional .validate.RepeatedRules repeated = 18; */ public com.lyft.pgv.validate.Validate.RepeatedRulesOrBuilder getRepeatedOrBuilder() { if (typeCase_ == 18) { return (com.lyft.pgv.validate.Validate.RepeatedRules) type_; } return com.lyft.pgv.validate.Validate.RepeatedRules.getDefaultInstance(); } public static final int MAP_FIELD_NUMBER = 19; /** * optional .validate.MapRules map = 19; */ public boolean hasMap() { return typeCase_ == 19; } /** * optional .validate.MapRules map = 19; */ public com.lyft.pgv.validate.Validate.MapRules getMap() { if (typeCase_ == 19) { return (com.lyft.pgv.validate.Validate.MapRules) type_; } return com.lyft.pgv.validate.Validate.MapRules.getDefaultInstance(); } /** * optional .validate.MapRules map = 19; */ public com.lyft.pgv.validate.Validate.MapRulesOrBuilder getMapOrBuilder() { if (typeCase_ == 19) { return (com.lyft.pgv.validate.Validate.MapRules) type_; } return com.lyft.pgv.validate.Validate.MapRules.getDefaultInstance(); } public static final int ANY_FIELD_NUMBER = 20; /** *
     * Well-Known Field Types
     * 
* * optional .validate.AnyRules any = 20; */ public boolean hasAny() { return typeCase_ == 20; } /** *
     * Well-Known Field Types
     * 
* * optional .validate.AnyRules any = 20; */ public com.lyft.pgv.validate.Validate.AnyRules getAny() { if (typeCase_ == 20) { return (com.lyft.pgv.validate.Validate.AnyRules) type_; } return com.lyft.pgv.validate.Validate.AnyRules.getDefaultInstance(); } /** *
     * Well-Known Field Types
     * 
* * optional .validate.AnyRules any = 20; */ public com.lyft.pgv.validate.Validate.AnyRulesOrBuilder getAnyOrBuilder() { if (typeCase_ == 20) { return (com.lyft.pgv.validate.Validate.AnyRules) type_; } return com.lyft.pgv.validate.Validate.AnyRules.getDefaultInstance(); } public static final int DURATION_FIELD_NUMBER = 21; /** * optional .validate.DurationRules duration = 21; */ public boolean hasDuration() { return typeCase_ == 21; } /** * optional .validate.DurationRules duration = 21; */ public com.lyft.pgv.validate.Validate.DurationRules getDuration() { if (typeCase_ == 21) { return (com.lyft.pgv.validate.Validate.DurationRules) type_; } return com.lyft.pgv.validate.Validate.DurationRules.getDefaultInstance(); } /** * optional .validate.DurationRules duration = 21; */ public com.lyft.pgv.validate.Validate.DurationRulesOrBuilder getDurationOrBuilder() { if (typeCase_ == 21) { return (com.lyft.pgv.validate.Validate.DurationRules) type_; } return com.lyft.pgv.validate.Validate.DurationRules.getDefaultInstance(); } public static final int TIMESTAMP_FIELD_NUMBER = 22; /** * optional .validate.TimestampRules timestamp = 22; */ public boolean hasTimestamp() { return typeCase_ == 22; } /** * optional .validate.TimestampRules timestamp = 22; */ public com.lyft.pgv.validate.Validate.TimestampRules getTimestamp() { if (typeCase_ == 22) { return (com.lyft.pgv.validate.Validate.TimestampRules) type_; } return com.lyft.pgv.validate.Validate.TimestampRules.getDefaultInstance(); } /** * optional .validate.TimestampRules timestamp = 22; */ public com.lyft.pgv.validate.Validate.TimestampRulesOrBuilder getTimestampOrBuilder() { if (typeCase_ == 22) { return (com.lyft.pgv.validate.Validate.TimestampRules) type_; } return com.lyft.pgv.validate.Validate.TimestampRules.getDefaultInstance(); } 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 (typeCase_ == 1) { output.writeMessage(1, (com.lyft.pgv.validate.Validate.FloatRules) type_); } if (typeCase_ == 2) { output.writeMessage(2, (com.lyft.pgv.validate.Validate.DoubleRules) type_); } if (typeCase_ == 3) { output.writeMessage(3, (com.lyft.pgv.validate.Validate.Int32Rules) type_); } if (typeCase_ == 4) { output.writeMessage(4, (com.lyft.pgv.validate.Validate.Int64Rules) type_); } if (typeCase_ == 5) { output.writeMessage(5, (com.lyft.pgv.validate.Validate.UInt32Rules) type_); } if (typeCase_ == 6) { output.writeMessage(6, (com.lyft.pgv.validate.Validate.UInt64Rules) type_); } if (typeCase_ == 7) { output.writeMessage(7, (com.lyft.pgv.validate.Validate.SInt32Rules) type_); } if (typeCase_ == 8) { output.writeMessage(8, (com.lyft.pgv.validate.Validate.SInt64Rules) type_); } if (typeCase_ == 9) { output.writeMessage(9, (com.lyft.pgv.validate.Validate.Fixed32Rules) type_); } if (typeCase_ == 10) { output.writeMessage(10, (com.lyft.pgv.validate.Validate.Fixed64Rules) type_); } if (typeCase_ == 11) { output.writeMessage(11, (com.lyft.pgv.validate.Validate.SFixed32Rules) type_); } if (typeCase_ == 12) { output.writeMessage(12, (com.lyft.pgv.validate.Validate.SFixed64Rules) type_); } if (typeCase_ == 13) { output.writeMessage(13, (com.lyft.pgv.validate.Validate.BoolRules) type_); } if (typeCase_ == 14) { output.writeMessage(14, (com.lyft.pgv.validate.Validate.StringRules) type_); } if (typeCase_ == 15) { output.writeMessage(15, (com.lyft.pgv.validate.Validate.BytesRules) type_); } if (typeCase_ == 16) { output.writeMessage(16, (com.lyft.pgv.validate.Validate.EnumRules) type_); } if (typeCase_ == 17) { output.writeMessage(17, (com.lyft.pgv.validate.Validate.MessageRules) type_); } if (typeCase_ == 18) { output.writeMessage(18, (com.lyft.pgv.validate.Validate.RepeatedRules) type_); } if (typeCase_ == 19) { output.writeMessage(19, (com.lyft.pgv.validate.Validate.MapRules) type_); } if (typeCase_ == 20) { output.writeMessage(20, (com.lyft.pgv.validate.Validate.AnyRules) type_); } if (typeCase_ == 21) { output.writeMessage(21, (com.lyft.pgv.validate.Validate.DurationRules) type_); } if (typeCase_ == 22) { output.writeMessage(22, (com.lyft.pgv.validate.Validate.TimestampRules) type_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (typeCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (com.lyft.pgv.validate.Validate.FloatRules) type_); } if (typeCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.lyft.pgv.validate.Validate.DoubleRules) type_); } if (typeCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (com.lyft.pgv.validate.Validate.Int32Rules) type_); } if (typeCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (com.lyft.pgv.validate.Validate.Int64Rules) type_); } if (typeCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (com.lyft.pgv.validate.Validate.UInt32Rules) type_); } if (typeCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (com.lyft.pgv.validate.Validate.UInt64Rules) type_); } if (typeCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (com.lyft.pgv.validate.Validate.SInt32Rules) type_); } if (typeCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (com.lyft.pgv.validate.Validate.SInt64Rules) type_); } if (typeCase_ == 9) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, (com.lyft.pgv.validate.Validate.Fixed32Rules) type_); } if (typeCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (com.lyft.pgv.validate.Validate.Fixed64Rules) type_); } if (typeCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (com.lyft.pgv.validate.Validate.SFixed32Rules) type_); } if (typeCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (com.lyft.pgv.validate.Validate.SFixed64Rules) type_); } if (typeCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, (com.lyft.pgv.validate.Validate.BoolRules) type_); } if (typeCase_ == 14) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, (com.lyft.pgv.validate.Validate.StringRules) type_); } if (typeCase_ == 15) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, (com.lyft.pgv.validate.Validate.BytesRules) type_); } if (typeCase_ == 16) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, (com.lyft.pgv.validate.Validate.EnumRules) type_); } if (typeCase_ == 17) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, (com.lyft.pgv.validate.Validate.MessageRules) type_); } if (typeCase_ == 18) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, (com.lyft.pgv.validate.Validate.RepeatedRules) type_); } if (typeCase_ == 19) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, (com.lyft.pgv.validate.Validate.MapRules) type_); } if (typeCase_ == 20) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, (com.lyft.pgv.validate.Validate.AnyRules) type_); } if (typeCase_ == 21) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, (com.lyft.pgv.validate.Validate.DurationRules) type_); } if (typeCase_ == 22) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, (com.lyft.pgv.validate.Validate.TimestampRules) type_); } 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.lyft.pgv.validate.Validate.FieldRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.FieldRules other = (com.lyft.pgv.validate.Validate.FieldRules) obj; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: if (!getFloat() .equals(other.getFloat())) return false; break; case 2: if (!getDouble() .equals(other.getDouble())) return false; break; case 3: if (!getInt32() .equals(other.getInt32())) return false; break; case 4: if (!getInt64() .equals(other.getInt64())) return false; break; case 5: if (!getUint32() .equals(other.getUint32())) return false; break; case 6: if (!getUint64() .equals(other.getUint64())) return false; break; case 7: if (!getSint32() .equals(other.getSint32())) return false; break; case 8: if (!getSint64() .equals(other.getSint64())) return false; break; case 9: if (!getFixed32() .equals(other.getFixed32())) return false; break; case 10: if (!getFixed64() .equals(other.getFixed64())) return false; break; case 11: if (!getSfixed32() .equals(other.getSfixed32())) return false; break; case 12: if (!getSfixed64() .equals(other.getSfixed64())) return false; break; case 13: if (!getBool() .equals(other.getBool())) return false; break; case 14: if (!getString() .equals(other.getString())) return false; break; case 15: if (!getBytes() .equals(other.getBytes())) return false; break; case 16: if (!getEnum() .equals(other.getEnum())) return false; break; case 17: if (!getMessage() .equals(other.getMessage())) return false; break; case 18: if (!getRepeated() .equals(other.getRepeated())) return false; break; case 19: if (!getMap() .equals(other.getMap())) return false; break; case 20: if (!getAny() .equals(other.getAny())) return false; break; case 21: if (!getDuration() .equals(other.getDuration())) return false; break; case 22: if (!getTimestamp() .equals(other.getTimestamp())) return false; break; case 0: default: } 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(); switch (typeCase_) { case 1: hash = (37 * hash) + FLOAT_FIELD_NUMBER; hash = (53 * hash) + getFloat().hashCode(); break; case 2: hash = (37 * hash) + DOUBLE_FIELD_NUMBER; hash = (53 * hash) + getDouble().hashCode(); break; case 3: hash = (37 * hash) + INT32_FIELD_NUMBER; hash = (53 * hash) + getInt32().hashCode(); break; case 4: hash = (37 * hash) + INT64_FIELD_NUMBER; hash = (53 * hash) + getInt64().hashCode(); break; case 5: hash = (37 * hash) + UINT32_FIELD_NUMBER; hash = (53 * hash) + getUint32().hashCode(); break; case 6: hash = (37 * hash) + UINT64_FIELD_NUMBER; hash = (53 * hash) + getUint64().hashCode(); break; case 7: hash = (37 * hash) + SINT32_FIELD_NUMBER; hash = (53 * hash) + getSint32().hashCode(); break; case 8: hash = (37 * hash) + SINT64_FIELD_NUMBER; hash = (53 * hash) + getSint64().hashCode(); break; case 9: hash = (37 * hash) + FIXED32_FIELD_NUMBER; hash = (53 * hash) + getFixed32().hashCode(); break; case 10: hash = (37 * hash) + FIXED64_FIELD_NUMBER; hash = (53 * hash) + getFixed64().hashCode(); break; case 11: hash = (37 * hash) + SFIXED32_FIELD_NUMBER; hash = (53 * hash) + getSfixed32().hashCode(); break; case 12: hash = (37 * hash) + SFIXED64_FIELD_NUMBER; hash = (53 * hash) + getSfixed64().hashCode(); break; case 13: hash = (37 * hash) + BOOL_FIELD_NUMBER; hash = (53 * hash) + getBool().hashCode(); break; case 14: hash = (37 * hash) + STRING_FIELD_NUMBER; hash = (53 * hash) + getString().hashCode(); break; case 15: hash = (37 * hash) + BYTES_FIELD_NUMBER; hash = (53 * hash) + getBytes().hashCode(); break; case 16: hash = (37 * hash) + ENUM_FIELD_NUMBER; hash = (53 * hash) + getEnum().hashCode(); break; case 17: hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); break; case 18: hash = (37 * hash) + REPEATED_FIELD_NUMBER; hash = (53 * hash) + getRepeated().hashCode(); break; case 19: hash = (37 * hash) + MAP_FIELD_NUMBER; hash = (53 * hash) + getMap().hashCode(); break; case 20: hash = (37 * hash) + ANY_FIELD_NUMBER; hash = (53 * hash) + getAny().hashCode(); break; case 21: hash = (37 * hash) + DURATION_FIELD_NUMBER; hash = (53 * hash) + getDuration().hashCode(); break; case 22: hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getTimestamp().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.FieldRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.FieldRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.FieldRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.FieldRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.FieldRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.FieldRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.FieldRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.FieldRules 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.lyft.pgv.validate.Validate.FieldRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.FieldRules 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.lyft.pgv.validate.Validate.FieldRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.FieldRules 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.lyft.pgv.validate.Validate.FieldRules 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; } /** *
     * FieldRules encapsulates the rules for each type of field. Depending on the
     * field, the correct set should be used to ensure proper validations.
     * 
* * Protobuf type {@code validate.FieldRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.FieldRules) com.lyft.pgv.validate.Validate.FieldRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_FieldRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_FieldRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.FieldRules.class, com.lyft.pgv.validate.Validate.FieldRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.FieldRules.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(); typeCase_ = 0; type_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_FieldRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.FieldRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.FieldRules build() { com.lyft.pgv.validate.Validate.FieldRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.FieldRules buildPartial() { com.lyft.pgv.validate.Validate.FieldRules result = new com.lyft.pgv.validate.Validate.FieldRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (typeCase_ == 1) { if (floatBuilder_ == null) { result.type_ = type_; } else { result.type_ = floatBuilder_.build(); } } if (typeCase_ == 2) { if (doubleBuilder_ == null) { result.type_ = type_; } else { result.type_ = doubleBuilder_.build(); } } if (typeCase_ == 3) { if (int32Builder_ == null) { result.type_ = type_; } else { result.type_ = int32Builder_.build(); } } if (typeCase_ == 4) { if (int64Builder_ == null) { result.type_ = type_; } else { result.type_ = int64Builder_.build(); } } if (typeCase_ == 5) { if (uint32Builder_ == null) { result.type_ = type_; } else { result.type_ = uint32Builder_.build(); } } if (typeCase_ == 6) { if (uint64Builder_ == null) { result.type_ = type_; } else { result.type_ = uint64Builder_.build(); } } if (typeCase_ == 7) { if (sint32Builder_ == null) { result.type_ = type_; } else { result.type_ = sint32Builder_.build(); } } if (typeCase_ == 8) { if (sint64Builder_ == null) { result.type_ = type_; } else { result.type_ = sint64Builder_.build(); } } if (typeCase_ == 9) { if (fixed32Builder_ == null) { result.type_ = type_; } else { result.type_ = fixed32Builder_.build(); } } if (typeCase_ == 10) { if (fixed64Builder_ == null) { result.type_ = type_; } else { result.type_ = fixed64Builder_.build(); } } if (typeCase_ == 11) { if (sfixed32Builder_ == null) { result.type_ = type_; } else { result.type_ = sfixed32Builder_.build(); } } if (typeCase_ == 12) { if (sfixed64Builder_ == null) { result.type_ = type_; } else { result.type_ = sfixed64Builder_.build(); } } if (typeCase_ == 13) { if (boolBuilder_ == null) { result.type_ = type_; } else { result.type_ = boolBuilder_.build(); } } if (typeCase_ == 14) { if (stringBuilder_ == null) { result.type_ = type_; } else { result.type_ = stringBuilder_.build(); } } if (typeCase_ == 15) { if (bytesBuilder_ == null) { result.type_ = type_; } else { result.type_ = bytesBuilder_.build(); } } if (typeCase_ == 16) { if (enumBuilder_ == null) { result.type_ = type_; } else { result.type_ = enumBuilder_.build(); } } if (typeCase_ == 17) { if (messageBuilder_ == null) { result.type_ = type_; } else { result.type_ = messageBuilder_.build(); } } if (typeCase_ == 18) { if (repeatedBuilder_ == null) { result.type_ = type_; } else { result.type_ = repeatedBuilder_.build(); } } if (typeCase_ == 19) { if (mapBuilder_ == null) { result.type_ = type_; } else { result.type_ = mapBuilder_.build(); } } if (typeCase_ == 20) { if (anyBuilder_ == null) { result.type_ = type_; } else { result.type_ = anyBuilder_.build(); } } if (typeCase_ == 21) { if (durationBuilder_ == null) { result.type_ = type_; } else { result.type_ = durationBuilder_.build(); } } if (typeCase_ == 22) { if (timestampBuilder_ == null) { result.type_ = type_; } else { result.type_ = timestampBuilder_.build(); } } result.bitField0_ = to_bitField0_; result.typeCase_ = typeCase_; 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.lyft.pgv.validate.Validate.FieldRules) { return mergeFrom((com.lyft.pgv.validate.Validate.FieldRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.FieldRules other) { if (other == com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance()) return this; switch (other.getTypeCase()) { case FLOAT: { mergeFloat(other.getFloat()); break; } case DOUBLE: { mergeDouble(other.getDouble()); break; } case INT32: { mergeInt32(other.getInt32()); break; } case INT64: { mergeInt64(other.getInt64()); break; } case UINT32: { mergeUint32(other.getUint32()); break; } case UINT64: { mergeUint64(other.getUint64()); break; } case SINT32: { mergeSint32(other.getSint32()); break; } case SINT64: { mergeSint64(other.getSint64()); break; } case FIXED32: { mergeFixed32(other.getFixed32()); break; } case FIXED64: { mergeFixed64(other.getFixed64()); break; } case SFIXED32: { mergeSfixed32(other.getSfixed32()); break; } case SFIXED64: { mergeSfixed64(other.getSfixed64()); break; } case BOOL: { mergeBool(other.getBool()); break; } case STRING: { mergeString(other.getString()); break; } case BYTES: { mergeBytes(other.getBytes()); break; } case ENUM: { mergeEnum(other.getEnum()); break; } case MESSAGE: { mergeMessage(other.getMessage()); break; } case REPEATED: { mergeRepeated(other.getRepeated()); break; } case MAP: { mergeMap(other.getMap()); break; } case ANY: { mergeAny(other.getAny()); break; } case DURATION: { mergeDuration(other.getDuration()); break; } case TIMESTAMP: { mergeTimestamp(other.getTimestamp()); break; } case TYPE_NOT_SET: { break; } } 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.lyft.pgv.validate.Validate.FieldRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.FieldRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int typeCase_ = 0; private java.lang.Object type_; public TypeCase getTypeCase() { return TypeCase.forNumber( typeCase_); } public Builder clearType() { typeCase_ = 0; type_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FloatRules, com.lyft.pgv.validate.Validate.FloatRules.Builder, com.lyft.pgv.validate.Validate.FloatRulesOrBuilder> floatBuilder_; /** *
       * Scalar Field Types
       * 
* * optional .validate.FloatRules float = 1; */ public boolean hasFloat() { return typeCase_ == 1; } /** *
       * Scalar Field Types
       * 
* * optional .validate.FloatRules float = 1; */ public com.lyft.pgv.validate.Validate.FloatRules getFloat() { if (floatBuilder_ == null) { if (typeCase_ == 1) { return (com.lyft.pgv.validate.Validate.FloatRules) type_; } return com.lyft.pgv.validate.Validate.FloatRules.getDefaultInstance(); } else { if (typeCase_ == 1) { return floatBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.FloatRules.getDefaultInstance(); } } /** *
       * Scalar Field Types
       * 
* * optional .validate.FloatRules float = 1; */ public Builder setFloat(com.lyft.pgv.validate.Validate.FloatRules value) { if (floatBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { floatBuilder_.setMessage(value); } typeCase_ = 1; return this; } /** *
       * Scalar Field Types
       * 
* * optional .validate.FloatRules float = 1; */ public Builder setFloat( com.lyft.pgv.validate.Validate.FloatRules.Builder builderForValue) { if (floatBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { floatBuilder_.setMessage(builderForValue.build()); } typeCase_ = 1; return this; } /** *
       * Scalar Field Types
       * 
* * optional .validate.FloatRules float = 1; */ public Builder mergeFloat(com.lyft.pgv.validate.Validate.FloatRules value) { if (floatBuilder_ == null) { if (typeCase_ == 1 && type_ != com.lyft.pgv.validate.Validate.FloatRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.FloatRules.newBuilder((com.lyft.pgv.validate.Validate.FloatRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 1) { floatBuilder_.mergeFrom(value); } floatBuilder_.setMessage(value); } typeCase_ = 1; return this; } /** *
       * Scalar Field Types
       * 
* * optional .validate.FloatRules float = 1; */ public Builder clearFloat() { if (floatBuilder_ == null) { if (typeCase_ == 1) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 1) { typeCase_ = 0; type_ = null; } floatBuilder_.clear(); } return this; } /** *
       * Scalar Field Types
       * 
* * optional .validate.FloatRules float = 1; */ public com.lyft.pgv.validate.Validate.FloatRules.Builder getFloatBuilder() { return getFloatFieldBuilder().getBuilder(); } /** *
       * Scalar Field Types
       * 
* * optional .validate.FloatRules float = 1; */ public com.lyft.pgv.validate.Validate.FloatRulesOrBuilder getFloatOrBuilder() { if ((typeCase_ == 1) && (floatBuilder_ != null)) { return floatBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 1) { return (com.lyft.pgv.validate.Validate.FloatRules) type_; } return com.lyft.pgv.validate.Validate.FloatRules.getDefaultInstance(); } } /** *
       * Scalar Field Types
       * 
* * optional .validate.FloatRules float = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FloatRules, com.lyft.pgv.validate.Validate.FloatRules.Builder, com.lyft.pgv.validate.Validate.FloatRulesOrBuilder> getFloatFieldBuilder() { if (floatBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = com.lyft.pgv.validate.Validate.FloatRules.getDefaultInstance(); } floatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FloatRules, com.lyft.pgv.validate.Validate.FloatRules.Builder, com.lyft.pgv.validate.Validate.FloatRulesOrBuilder>( (com.lyft.pgv.validate.Validate.FloatRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; onChanged();; return floatBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.DoubleRules, com.lyft.pgv.validate.Validate.DoubleRules.Builder, com.lyft.pgv.validate.Validate.DoubleRulesOrBuilder> doubleBuilder_; /** * optional .validate.DoubleRules double = 2; */ public boolean hasDouble() { return typeCase_ == 2; } /** * optional .validate.DoubleRules double = 2; */ public com.lyft.pgv.validate.Validate.DoubleRules getDouble() { if (doubleBuilder_ == null) { if (typeCase_ == 2) { return (com.lyft.pgv.validate.Validate.DoubleRules) type_; } return com.lyft.pgv.validate.Validate.DoubleRules.getDefaultInstance(); } else { if (typeCase_ == 2) { return doubleBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.DoubleRules.getDefaultInstance(); } } /** * optional .validate.DoubleRules double = 2; */ public Builder setDouble(com.lyft.pgv.validate.Validate.DoubleRules value) { if (doubleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { doubleBuilder_.setMessage(value); } typeCase_ = 2; return this; } /** * optional .validate.DoubleRules double = 2; */ public Builder setDouble( com.lyft.pgv.validate.Validate.DoubleRules.Builder builderForValue) { if (doubleBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { doubleBuilder_.setMessage(builderForValue.build()); } typeCase_ = 2; return this; } /** * optional .validate.DoubleRules double = 2; */ public Builder mergeDouble(com.lyft.pgv.validate.Validate.DoubleRules value) { if (doubleBuilder_ == null) { if (typeCase_ == 2 && type_ != com.lyft.pgv.validate.Validate.DoubleRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.DoubleRules.newBuilder((com.lyft.pgv.validate.Validate.DoubleRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 2) { doubleBuilder_.mergeFrom(value); } doubleBuilder_.setMessage(value); } typeCase_ = 2; return this; } /** * optional .validate.DoubleRules double = 2; */ public Builder clearDouble() { if (doubleBuilder_ == null) { if (typeCase_ == 2) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 2) { typeCase_ = 0; type_ = null; } doubleBuilder_.clear(); } return this; } /** * optional .validate.DoubleRules double = 2; */ public com.lyft.pgv.validate.Validate.DoubleRules.Builder getDoubleBuilder() { return getDoubleFieldBuilder().getBuilder(); } /** * optional .validate.DoubleRules double = 2; */ public com.lyft.pgv.validate.Validate.DoubleRulesOrBuilder getDoubleOrBuilder() { if ((typeCase_ == 2) && (doubleBuilder_ != null)) { return doubleBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 2) { return (com.lyft.pgv.validate.Validate.DoubleRules) type_; } return com.lyft.pgv.validate.Validate.DoubleRules.getDefaultInstance(); } } /** * optional .validate.DoubleRules double = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.DoubleRules, com.lyft.pgv.validate.Validate.DoubleRules.Builder, com.lyft.pgv.validate.Validate.DoubleRulesOrBuilder> getDoubleFieldBuilder() { if (doubleBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.lyft.pgv.validate.Validate.DoubleRules.getDefaultInstance(); } doubleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.DoubleRules, com.lyft.pgv.validate.Validate.DoubleRules.Builder, com.lyft.pgv.validate.Validate.DoubleRulesOrBuilder>( (com.lyft.pgv.validate.Validate.DoubleRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; onChanged();; return doubleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Int32Rules, com.lyft.pgv.validate.Validate.Int32Rules.Builder, com.lyft.pgv.validate.Validate.Int32RulesOrBuilder> int32Builder_; /** * optional .validate.Int32Rules int32 = 3; */ public boolean hasInt32() { return typeCase_ == 3; } /** * optional .validate.Int32Rules int32 = 3; */ public com.lyft.pgv.validate.Validate.Int32Rules getInt32() { if (int32Builder_ == null) { if (typeCase_ == 3) { return (com.lyft.pgv.validate.Validate.Int32Rules) type_; } return com.lyft.pgv.validate.Validate.Int32Rules.getDefaultInstance(); } else { if (typeCase_ == 3) { return int32Builder_.getMessage(); } return com.lyft.pgv.validate.Validate.Int32Rules.getDefaultInstance(); } } /** * optional .validate.Int32Rules int32 = 3; */ public Builder setInt32(com.lyft.pgv.validate.Validate.Int32Rules value) { if (int32Builder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { int32Builder_.setMessage(value); } typeCase_ = 3; return this; } /** * optional .validate.Int32Rules int32 = 3; */ public Builder setInt32( com.lyft.pgv.validate.Validate.Int32Rules.Builder builderForValue) { if (int32Builder_ == null) { type_ = builderForValue.build(); onChanged(); } else { int32Builder_.setMessage(builderForValue.build()); } typeCase_ = 3; return this; } /** * optional .validate.Int32Rules int32 = 3; */ public Builder mergeInt32(com.lyft.pgv.validate.Validate.Int32Rules value) { if (int32Builder_ == null) { if (typeCase_ == 3 && type_ != com.lyft.pgv.validate.Validate.Int32Rules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.Int32Rules.newBuilder((com.lyft.pgv.validate.Validate.Int32Rules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 3) { int32Builder_.mergeFrom(value); } int32Builder_.setMessage(value); } typeCase_ = 3; return this; } /** * optional .validate.Int32Rules int32 = 3; */ public Builder clearInt32() { if (int32Builder_ == null) { if (typeCase_ == 3) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 3) { typeCase_ = 0; type_ = null; } int32Builder_.clear(); } return this; } /** * optional .validate.Int32Rules int32 = 3; */ public com.lyft.pgv.validate.Validate.Int32Rules.Builder getInt32Builder() { return getInt32FieldBuilder().getBuilder(); } /** * optional .validate.Int32Rules int32 = 3; */ public com.lyft.pgv.validate.Validate.Int32RulesOrBuilder getInt32OrBuilder() { if ((typeCase_ == 3) && (int32Builder_ != null)) { return int32Builder_.getMessageOrBuilder(); } else { if (typeCase_ == 3) { return (com.lyft.pgv.validate.Validate.Int32Rules) type_; } return com.lyft.pgv.validate.Validate.Int32Rules.getDefaultInstance(); } } /** * optional .validate.Int32Rules int32 = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Int32Rules, com.lyft.pgv.validate.Validate.Int32Rules.Builder, com.lyft.pgv.validate.Validate.Int32RulesOrBuilder> getInt32FieldBuilder() { if (int32Builder_ == null) { if (!(typeCase_ == 3)) { type_ = com.lyft.pgv.validate.Validate.Int32Rules.getDefaultInstance(); } int32Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Int32Rules, com.lyft.pgv.validate.Validate.Int32Rules.Builder, com.lyft.pgv.validate.Validate.Int32RulesOrBuilder>( (com.lyft.pgv.validate.Validate.Int32Rules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; onChanged();; return int32Builder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Int64Rules, com.lyft.pgv.validate.Validate.Int64Rules.Builder, com.lyft.pgv.validate.Validate.Int64RulesOrBuilder> int64Builder_; /** * optional .validate.Int64Rules int64 = 4; */ public boolean hasInt64() { return typeCase_ == 4; } /** * optional .validate.Int64Rules int64 = 4; */ public com.lyft.pgv.validate.Validate.Int64Rules getInt64() { if (int64Builder_ == null) { if (typeCase_ == 4) { return (com.lyft.pgv.validate.Validate.Int64Rules) type_; } return com.lyft.pgv.validate.Validate.Int64Rules.getDefaultInstance(); } else { if (typeCase_ == 4) { return int64Builder_.getMessage(); } return com.lyft.pgv.validate.Validate.Int64Rules.getDefaultInstance(); } } /** * optional .validate.Int64Rules int64 = 4; */ public Builder setInt64(com.lyft.pgv.validate.Validate.Int64Rules value) { if (int64Builder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { int64Builder_.setMessage(value); } typeCase_ = 4; return this; } /** * optional .validate.Int64Rules int64 = 4; */ public Builder setInt64( com.lyft.pgv.validate.Validate.Int64Rules.Builder builderForValue) { if (int64Builder_ == null) { type_ = builderForValue.build(); onChanged(); } else { int64Builder_.setMessage(builderForValue.build()); } typeCase_ = 4; return this; } /** * optional .validate.Int64Rules int64 = 4; */ public Builder mergeInt64(com.lyft.pgv.validate.Validate.Int64Rules value) { if (int64Builder_ == null) { if (typeCase_ == 4 && type_ != com.lyft.pgv.validate.Validate.Int64Rules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.Int64Rules.newBuilder((com.lyft.pgv.validate.Validate.Int64Rules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 4) { int64Builder_.mergeFrom(value); } int64Builder_.setMessage(value); } typeCase_ = 4; return this; } /** * optional .validate.Int64Rules int64 = 4; */ public Builder clearInt64() { if (int64Builder_ == null) { if (typeCase_ == 4) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 4) { typeCase_ = 0; type_ = null; } int64Builder_.clear(); } return this; } /** * optional .validate.Int64Rules int64 = 4; */ public com.lyft.pgv.validate.Validate.Int64Rules.Builder getInt64Builder() { return getInt64FieldBuilder().getBuilder(); } /** * optional .validate.Int64Rules int64 = 4; */ public com.lyft.pgv.validate.Validate.Int64RulesOrBuilder getInt64OrBuilder() { if ((typeCase_ == 4) && (int64Builder_ != null)) { return int64Builder_.getMessageOrBuilder(); } else { if (typeCase_ == 4) { return (com.lyft.pgv.validate.Validate.Int64Rules) type_; } return com.lyft.pgv.validate.Validate.Int64Rules.getDefaultInstance(); } } /** * optional .validate.Int64Rules int64 = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Int64Rules, com.lyft.pgv.validate.Validate.Int64Rules.Builder, com.lyft.pgv.validate.Validate.Int64RulesOrBuilder> getInt64FieldBuilder() { if (int64Builder_ == null) { if (!(typeCase_ == 4)) { type_ = com.lyft.pgv.validate.Validate.Int64Rules.getDefaultInstance(); } int64Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Int64Rules, com.lyft.pgv.validate.Validate.Int64Rules.Builder, com.lyft.pgv.validate.Validate.Int64RulesOrBuilder>( (com.lyft.pgv.validate.Validate.Int64Rules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 4; onChanged();; return int64Builder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.UInt32Rules, com.lyft.pgv.validate.Validate.UInt32Rules.Builder, com.lyft.pgv.validate.Validate.UInt32RulesOrBuilder> uint32Builder_; /** * optional .validate.UInt32Rules uint32 = 5; */ public boolean hasUint32() { return typeCase_ == 5; } /** * optional .validate.UInt32Rules uint32 = 5; */ public com.lyft.pgv.validate.Validate.UInt32Rules getUint32() { if (uint32Builder_ == null) { if (typeCase_ == 5) { return (com.lyft.pgv.validate.Validate.UInt32Rules) type_; } return com.lyft.pgv.validate.Validate.UInt32Rules.getDefaultInstance(); } else { if (typeCase_ == 5) { return uint32Builder_.getMessage(); } return com.lyft.pgv.validate.Validate.UInt32Rules.getDefaultInstance(); } } /** * optional .validate.UInt32Rules uint32 = 5; */ public Builder setUint32(com.lyft.pgv.validate.Validate.UInt32Rules value) { if (uint32Builder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { uint32Builder_.setMessage(value); } typeCase_ = 5; return this; } /** * optional .validate.UInt32Rules uint32 = 5; */ public Builder setUint32( com.lyft.pgv.validate.Validate.UInt32Rules.Builder builderForValue) { if (uint32Builder_ == null) { type_ = builderForValue.build(); onChanged(); } else { uint32Builder_.setMessage(builderForValue.build()); } typeCase_ = 5; return this; } /** * optional .validate.UInt32Rules uint32 = 5; */ public Builder mergeUint32(com.lyft.pgv.validate.Validate.UInt32Rules value) { if (uint32Builder_ == null) { if (typeCase_ == 5 && type_ != com.lyft.pgv.validate.Validate.UInt32Rules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.UInt32Rules.newBuilder((com.lyft.pgv.validate.Validate.UInt32Rules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 5) { uint32Builder_.mergeFrom(value); } uint32Builder_.setMessage(value); } typeCase_ = 5; return this; } /** * optional .validate.UInt32Rules uint32 = 5; */ public Builder clearUint32() { if (uint32Builder_ == null) { if (typeCase_ == 5) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 5) { typeCase_ = 0; type_ = null; } uint32Builder_.clear(); } return this; } /** * optional .validate.UInt32Rules uint32 = 5; */ public com.lyft.pgv.validate.Validate.UInt32Rules.Builder getUint32Builder() { return getUint32FieldBuilder().getBuilder(); } /** * optional .validate.UInt32Rules uint32 = 5; */ public com.lyft.pgv.validate.Validate.UInt32RulesOrBuilder getUint32OrBuilder() { if ((typeCase_ == 5) && (uint32Builder_ != null)) { return uint32Builder_.getMessageOrBuilder(); } else { if (typeCase_ == 5) { return (com.lyft.pgv.validate.Validate.UInt32Rules) type_; } return com.lyft.pgv.validate.Validate.UInt32Rules.getDefaultInstance(); } } /** * optional .validate.UInt32Rules uint32 = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.UInt32Rules, com.lyft.pgv.validate.Validate.UInt32Rules.Builder, com.lyft.pgv.validate.Validate.UInt32RulesOrBuilder> getUint32FieldBuilder() { if (uint32Builder_ == null) { if (!(typeCase_ == 5)) { type_ = com.lyft.pgv.validate.Validate.UInt32Rules.getDefaultInstance(); } uint32Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.UInt32Rules, com.lyft.pgv.validate.Validate.UInt32Rules.Builder, com.lyft.pgv.validate.Validate.UInt32RulesOrBuilder>( (com.lyft.pgv.validate.Validate.UInt32Rules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 5; onChanged();; return uint32Builder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.UInt64Rules, com.lyft.pgv.validate.Validate.UInt64Rules.Builder, com.lyft.pgv.validate.Validate.UInt64RulesOrBuilder> uint64Builder_; /** * optional .validate.UInt64Rules uint64 = 6; */ public boolean hasUint64() { return typeCase_ == 6; } /** * optional .validate.UInt64Rules uint64 = 6; */ public com.lyft.pgv.validate.Validate.UInt64Rules getUint64() { if (uint64Builder_ == null) { if (typeCase_ == 6) { return (com.lyft.pgv.validate.Validate.UInt64Rules) type_; } return com.lyft.pgv.validate.Validate.UInt64Rules.getDefaultInstance(); } else { if (typeCase_ == 6) { return uint64Builder_.getMessage(); } return com.lyft.pgv.validate.Validate.UInt64Rules.getDefaultInstance(); } } /** * optional .validate.UInt64Rules uint64 = 6; */ public Builder setUint64(com.lyft.pgv.validate.Validate.UInt64Rules value) { if (uint64Builder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { uint64Builder_.setMessage(value); } typeCase_ = 6; return this; } /** * optional .validate.UInt64Rules uint64 = 6; */ public Builder setUint64( com.lyft.pgv.validate.Validate.UInt64Rules.Builder builderForValue) { if (uint64Builder_ == null) { type_ = builderForValue.build(); onChanged(); } else { uint64Builder_.setMessage(builderForValue.build()); } typeCase_ = 6; return this; } /** * optional .validate.UInt64Rules uint64 = 6; */ public Builder mergeUint64(com.lyft.pgv.validate.Validate.UInt64Rules value) { if (uint64Builder_ == null) { if (typeCase_ == 6 && type_ != com.lyft.pgv.validate.Validate.UInt64Rules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.UInt64Rules.newBuilder((com.lyft.pgv.validate.Validate.UInt64Rules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 6) { uint64Builder_.mergeFrom(value); } uint64Builder_.setMessage(value); } typeCase_ = 6; return this; } /** * optional .validate.UInt64Rules uint64 = 6; */ public Builder clearUint64() { if (uint64Builder_ == null) { if (typeCase_ == 6) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 6) { typeCase_ = 0; type_ = null; } uint64Builder_.clear(); } return this; } /** * optional .validate.UInt64Rules uint64 = 6; */ public com.lyft.pgv.validate.Validate.UInt64Rules.Builder getUint64Builder() { return getUint64FieldBuilder().getBuilder(); } /** * optional .validate.UInt64Rules uint64 = 6; */ public com.lyft.pgv.validate.Validate.UInt64RulesOrBuilder getUint64OrBuilder() { if ((typeCase_ == 6) && (uint64Builder_ != null)) { return uint64Builder_.getMessageOrBuilder(); } else { if (typeCase_ == 6) { return (com.lyft.pgv.validate.Validate.UInt64Rules) type_; } return com.lyft.pgv.validate.Validate.UInt64Rules.getDefaultInstance(); } } /** * optional .validate.UInt64Rules uint64 = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.UInt64Rules, com.lyft.pgv.validate.Validate.UInt64Rules.Builder, com.lyft.pgv.validate.Validate.UInt64RulesOrBuilder> getUint64FieldBuilder() { if (uint64Builder_ == null) { if (!(typeCase_ == 6)) { type_ = com.lyft.pgv.validate.Validate.UInt64Rules.getDefaultInstance(); } uint64Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.UInt64Rules, com.lyft.pgv.validate.Validate.UInt64Rules.Builder, com.lyft.pgv.validate.Validate.UInt64RulesOrBuilder>( (com.lyft.pgv.validate.Validate.UInt64Rules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 6; onChanged();; return uint64Builder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SInt32Rules, com.lyft.pgv.validate.Validate.SInt32Rules.Builder, com.lyft.pgv.validate.Validate.SInt32RulesOrBuilder> sint32Builder_; /** * optional .validate.SInt32Rules sint32 = 7; */ public boolean hasSint32() { return typeCase_ == 7; } /** * optional .validate.SInt32Rules sint32 = 7; */ public com.lyft.pgv.validate.Validate.SInt32Rules getSint32() { if (sint32Builder_ == null) { if (typeCase_ == 7) { return (com.lyft.pgv.validate.Validate.SInt32Rules) type_; } return com.lyft.pgv.validate.Validate.SInt32Rules.getDefaultInstance(); } else { if (typeCase_ == 7) { return sint32Builder_.getMessage(); } return com.lyft.pgv.validate.Validate.SInt32Rules.getDefaultInstance(); } } /** * optional .validate.SInt32Rules sint32 = 7; */ public Builder setSint32(com.lyft.pgv.validate.Validate.SInt32Rules value) { if (sint32Builder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { sint32Builder_.setMessage(value); } typeCase_ = 7; return this; } /** * optional .validate.SInt32Rules sint32 = 7; */ public Builder setSint32( com.lyft.pgv.validate.Validate.SInt32Rules.Builder builderForValue) { if (sint32Builder_ == null) { type_ = builderForValue.build(); onChanged(); } else { sint32Builder_.setMessage(builderForValue.build()); } typeCase_ = 7; return this; } /** * optional .validate.SInt32Rules sint32 = 7; */ public Builder mergeSint32(com.lyft.pgv.validate.Validate.SInt32Rules value) { if (sint32Builder_ == null) { if (typeCase_ == 7 && type_ != com.lyft.pgv.validate.Validate.SInt32Rules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.SInt32Rules.newBuilder((com.lyft.pgv.validate.Validate.SInt32Rules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 7) { sint32Builder_.mergeFrom(value); } sint32Builder_.setMessage(value); } typeCase_ = 7; return this; } /** * optional .validate.SInt32Rules sint32 = 7; */ public Builder clearSint32() { if (sint32Builder_ == null) { if (typeCase_ == 7) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 7) { typeCase_ = 0; type_ = null; } sint32Builder_.clear(); } return this; } /** * optional .validate.SInt32Rules sint32 = 7; */ public com.lyft.pgv.validate.Validate.SInt32Rules.Builder getSint32Builder() { return getSint32FieldBuilder().getBuilder(); } /** * optional .validate.SInt32Rules sint32 = 7; */ public com.lyft.pgv.validate.Validate.SInt32RulesOrBuilder getSint32OrBuilder() { if ((typeCase_ == 7) && (sint32Builder_ != null)) { return sint32Builder_.getMessageOrBuilder(); } else { if (typeCase_ == 7) { return (com.lyft.pgv.validate.Validate.SInt32Rules) type_; } return com.lyft.pgv.validate.Validate.SInt32Rules.getDefaultInstance(); } } /** * optional .validate.SInt32Rules sint32 = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SInt32Rules, com.lyft.pgv.validate.Validate.SInt32Rules.Builder, com.lyft.pgv.validate.Validate.SInt32RulesOrBuilder> getSint32FieldBuilder() { if (sint32Builder_ == null) { if (!(typeCase_ == 7)) { type_ = com.lyft.pgv.validate.Validate.SInt32Rules.getDefaultInstance(); } sint32Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SInt32Rules, com.lyft.pgv.validate.Validate.SInt32Rules.Builder, com.lyft.pgv.validate.Validate.SInt32RulesOrBuilder>( (com.lyft.pgv.validate.Validate.SInt32Rules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 7; onChanged();; return sint32Builder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SInt64Rules, com.lyft.pgv.validate.Validate.SInt64Rules.Builder, com.lyft.pgv.validate.Validate.SInt64RulesOrBuilder> sint64Builder_; /** * optional .validate.SInt64Rules sint64 = 8; */ public boolean hasSint64() { return typeCase_ == 8; } /** * optional .validate.SInt64Rules sint64 = 8; */ public com.lyft.pgv.validate.Validate.SInt64Rules getSint64() { if (sint64Builder_ == null) { if (typeCase_ == 8) { return (com.lyft.pgv.validate.Validate.SInt64Rules) type_; } return com.lyft.pgv.validate.Validate.SInt64Rules.getDefaultInstance(); } else { if (typeCase_ == 8) { return sint64Builder_.getMessage(); } return com.lyft.pgv.validate.Validate.SInt64Rules.getDefaultInstance(); } } /** * optional .validate.SInt64Rules sint64 = 8; */ public Builder setSint64(com.lyft.pgv.validate.Validate.SInt64Rules value) { if (sint64Builder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { sint64Builder_.setMessage(value); } typeCase_ = 8; return this; } /** * optional .validate.SInt64Rules sint64 = 8; */ public Builder setSint64( com.lyft.pgv.validate.Validate.SInt64Rules.Builder builderForValue) { if (sint64Builder_ == null) { type_ = builderForValue.build(); onChanged(); } else { sint64Builder_.setMessage(builderForValue.build()); } typeCase_ = 8; return this; } /** * optional .validate.SInt64Rules sint64 = 8; */ public Builder mergeSint64(com.lyft.pgv.validate.Validate.SInt64Rules value) { if (sint64Builder_ == null) { if (typeCase_ == 8 && type_ != com.lyft.pgv.validate.Validate.SInt64Rules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.SInt64Rules.newBuilder((com.lyft.pgv.validate.Validate.SInt64Rules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 8) { sint64Builder_.mergeFrom(value); } sint64Builder_.setMessage(value); } typeCase_ = 8; return this; } /** * optional .validate.SInt64Rules sint64 = 8; */ public Builder clearSint64() { if (sint64Builder_ == null) { if (typeCase_ == 8) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 8) { typeCase_ = 0; type_ = null; } sint64Builder_.clear(); } return this; } /** * optional .validate.SInt64Rules sint64 = 8; */ public com.lyft.pgv.validate.Validate.SInt64Rules.Builder getSint64Builder() { return getSint64FieldBuilder().getBuilder(); } /** * optional .validate.SInt64Rules sint64 = 8; */ public com.lyft.pgv.validate.Validate.SInt64RulesOrBuilder getSint64OrBuilder() { if ((typeCase_ == 8) && (sint64Builder_ != null)) { return sint64Builder_.getMessageOrBuilder(); } else { if (typeCase_ == 8) { return (com.lyft.pgv.validate.Validate.SInt64Rules) type_; } return com.lyft.pgv.validate.Validate.SInt64Rules.getDefaultInstance(); } } /** * optional .validate.SInt64Rules sint64 = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SInt64Rules, com.lyft.pgv.validate.Validate.SInt64Rules.Builder, com.lyft.pgv.validate.Validate.SInt64RulesOrBuilder> getSint64FieldBuilder() { if (sint64Builder_ == null) { if (!(typeCase_ == 8)) { type_ = com.lyft.pgv.validate.Validate.SInt64Rules.getDefaultInstance(); } sint64Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SInt64Rules, com.lyft.pgv.validate.Validate.SInt64Rules.Builder, com.lyft.pgv.validate.Validate.SInt64RulesOrBuilder>( (com.lyft.pgv.validate.Validate.SInt64Rules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 8; onChanged();; return sint64Builder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Fixed32Rules, com.lyft.pgv.validate.Validate.Fixed32Rules.Builder, com.lyft.pgv.validate.Validate.Fixed32RulesOrBuilder> fixed32Builder_; /** * optional .validate.Fixed32Rules fixed32 = 9; */ public boolean hasFixed32() { return typeCase_ == 9; } /** * optional .validate.Fixed32Rules fixed32 = 9; */ public com.lyft.pgv.validate.Validate.Fixed32Rules getFixed32() { if (fixed32Builder_ == null) { if (typeCase_ == 9) { return (com.lyft.pgv.validate.Validate.Fixed32Rules) type_; } return com.lyft.pgv.validate.Validate.Fixed32Rules.getDefaultInstance(); } else { if (typeCase_ == 9) { return fixed32Builder_.getMessage(); } return com.lyft.pgv.validate.Validate.Fixed32Rules.getDefaultInstance(); } } /** * optional .validate.Fixed32Rules fixed32 = 9; */ public Builder setFixed32(com.lyft.pgv.validate.Validate.Fixed32Rules value) { if (fixed32Builder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { fixed32Builder_.setMessage(value); } typeCase_ = 9; return this; } /** * optional .validate.Fixed32Rules fixed32 = 9; */ public Builder setFixed32( com.lyft.pgv.validate.Validate.Fixed32Rules.Builder builderForValue) { if (fixed32Builder_ == null) { type_ = builderForValue.build(); onChanged(); } else { fixed32Builder_.setMessage(builderForValue.build()); } typeCase_ = 9; return this; } /** * optional .validate.Fixed32Rules fixed32 = 9; */ public Builder mergeFixed32(com.lyft.pgv.validate.Validate.Fixed32Rules value) { if (fixed32Builder_ == null) { if (typeCase_ == 9 && type_ != com.lyft.pgv.validate.Validate.Fixed32Rules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.Fixed32Rules.newBuilder((com.lyft.pgv.validate.Validate.Fixed32Rules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 9) { fixed32Builder_.mergeFrom(value); } fixed32Builder_.setMessage(value); } typeCase_ = 9; return this; } /** * optional .validate.Fixed32Rules fixed32 = 9; */ public Builder clearFixed32() { if (fixed32Builder_ == null) { if (typeCase_ == 9) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 9) { typeCase_ = 0; type_ = null; } fixed32Builder_.clear(); } return this; } /** * optional .validate.Fixed32Rules fixed32 = 9; */ public com.lyft.pgv.validate.Validate.Fixed32Rules.Builder getFixed32Builder() { return getFixed32FieldBuilder().getBuilder(); } /** * optional .validate.Fixed32Rules fixed32 = 9; */ public com.lyft.pgv.validate.Validate.Fixed32RulesOrBuilder getFixed32OrBuilder() { if ((typeCase_ == 9) && (fixed32Builder_ != null)) { return fixed32Builder_.getMessageOrBuilder(); } else { if (typeCase_ == 9) { return (com.lyft.pgv.validate.Validate.Fixed32Rules) type_; } return com.lyft.pgv.validate.Validate.Fixed32Rules.getDefaultInstance(); } } /** * optional .validate.Fixed32Rules fixed32 = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Fixed32Rules, com.lyft.pgv.validate.Validate.Fixed32Rules.Builder, com.lyft.pgv.validate.Validate.Fixed32RulesOrBuilder> getFixed32FieldBuilder() { if (fixed32Builder_ == null) { if (!(typeCase_ == 9)) { type_ = com.lyft.pgv.validate.Validate.Fixed32Rules.getDefaultInstance(); } fixed32Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Fixed32Rules, com.lyft.pgv.validate.Validate.Fixed32Rules.Builder, com.lyft.pgv.validate.Validate.Fixed32RulesOrBuilder>( (com.lyft.pgv.validate.Validate.Fixed32Rules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 9; onChanged();; return fixed32Builder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Fixed64Rules, com.lyft.pgv.validate.Validate.Fixed64Rules.Builder, com.lyft.pgv.validate.Validate.Fixed64RulesOrBuilder> fixed64Builder_; /** * optional .validate.Fixed64Rules fixed64 = 10; */ public boolean hasFixed64() { return typeCase_ == 10; } /** * optional .validate.Fixed64Rules fixed64 = 10; */ public com.lyft.pgv.validate.Validate.Fixed64Rules getFixed64() { if (fixed64Builder_ == null) { if (typeCase_ == 10) { return (com.lyft.pgv.validate.Validate.Fixed64Rules) type_; } return com.lyft.pgv.validate.Validate.Fixed64Rules.getDefaultInstance(); } else { if (typeCase_ == 10) { return fixed64Builder_.getMessage(); } return com.lyft.pgv.validate.Validate.Fixed64Rules.getDefaultInstance(); } } /** * optional .validate.Fixed64Rules fixed64 = 10; */ public Builder setFixed64(com.lyft.pgv.validate.Validate.Fixed64Rules value) { if (fixed64Builder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { fixed64Builder_.setMessage(value); } typeCase_ = 10; return this; } /** * optional .validate.Fixed64Rules fixed64 = 10; */ public Builder setFixed64( com.lyft.pgv.validate.Validate.Fixed64Rules.Builder builderForValue) { if (fixed64Builder_ == null) { type_ = builderForValue.build(); onChanged(); } else { fixed64Builder_.setMessage(builderForValue.build()); } typeCase_ = 10; return this; } /** * optional .validate.Fixed64Rules fixed64 = 10; */ public Builder mergeFixed64(com.lyft.pgv.validate.Validate.Fixed64Rules value) { if (fixed64Builder_ == null) { if (typeCase_ == 10 && type_ != com.lyft.pgv.validate.Validate.Fixed64Rules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.Fixed64Rules.newBuilder((com.lyft.pgv.validate.Validate.Fixed64Rules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 10) { fixed64Builder_.mergeFrom(value); } fixed64Builder_.setMessage(value); } typeCase_ = 10; return this; } /** * optional .validate.Fixed64Rules fixed64 = 10; */ public Builder clearFixed64() { if (fixed64Builder_ == null) { if (typeCase_ == 10) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 10) { typeCase_ = 0; type_ = null; } fixed64Builder_.clear(); } return this; } /** * optional .validate.Fixed64Rules fixed64 = 10; */ public com.lyft.pgv.validate.Validate.Fixed64Rules.Builder getFixed64Builder() { return getFixed64FieldBuilder().getBuilder(); } /** * optional .validate.Fixed64Rules fixed64 = 10; */ public com.lyft.pgv.validate.Validate.Fixed64RulesOrBuilder getFixed64OrBuilder() { if ((typeCase_ == 10) && (fixed64Builder_ != null)) { return fixed64Builder_.getMessageOrBuilder(); } else { if (typeCase_ == 10) { return (com.lyft.pgv.validate.Validate.Fixed64Rules) type_; } return com.lyft.pgv.validate.Validate.Fixed64Rules.getDefaultInstance(); } } /** * optional .validate.Fixed64Rules fixed64 = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Fixed64Rules, com.lyft.pgv.validate.Validate.Fixed64Rules.Builder, com.lyft.pgv.validate.Validate.Fixed64RulesOrBuilder> getFixed64FieldBuilder() { if (fixed64Builder_ == null) { if (!(typeCase_ == 10)) { type_ = com.lyft.pgv.validate.Validate.Fixed64Rules.getDefaultInstance(); } fixed64Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.Fixed64Rules, com.lyft.pgv.validate.Validate.Fixed64Rules.Builder, com.lyft.pgv.validate.Validate.Fixed64RulesOrBuilder>( (com.lyft.pgv.validate.Validate.Fixed64Rules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 10; onChanged();; return fixed64Builder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SFixed32Rules, com.lyft.pgv.validate.Validate.SFixed32Rules.Builder, com.lyft.pgv.validate.Validate.SFixed32RulesOrBuilder> sfixed32Builder_; /** * optional .validate.SFixed32Rules sfixed32 = 11; */ public boolean hasSfixed32() { return typeCase_ == 11; } /** * optional .validate.SFixed32Rules sfixed32 = 11; */ public com.lyft.pgv.validate.Validate.SFixed32Rules getSfixed32() { if (sfixed32Builder_ == null) { if (typeCase_ == 11) { return (com.lyft.pgv.validate.Validate.SFixed32Rules) type_; } return com.lyft.pgv.validate.Validate.SFixed32Rules.getDefaultInstance(); } else { if (typeCase_ == 11) { return sfixed32Builder_.getMessage(); } return com.lyft.pgv.validate.Validate.SFixed32Rules.getDefaultInstance(); } } /** * optional .validate.SFixed32Rules sfixed32 = 11; */ public Builder setSfixed32(com.lyft.pgv.validate.Validate.SFixed32Rules value) { if (sfixed32Builder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { sfixed32Builder_.setMessage(value); } typeCase_ = 11; return this; } /** * optional .validate.SFixed32Rules sfixed32 = 11; */ public Builder setSfixed32( com.lyft.pgv.validate.Validate.SFixed32Rules.Builder builderForValue) { if (sfixed32Builder_ == null) { type_ = builderForValue.build(); onChanged(); } else { sfixed32Builder_.setMessage(builderForValue.build()); } typeCase_ = 11; return this; } /** * optional .validate.SFixed32Rules sfixed32 = 11; */ public Builder mergeSfixed32(com.lyft.pgv.validate.Validate.SFixed32Rules value) { if (sfixed32Builder_ == null) { if (typeCase_ == 11 && type_ != com.lyft.pgv.validate.Validate.SFixed32Rules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.SFixed32Rules.newBuilder((com.lyft.pgv.validate.Validate.SFixed32Rules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 11) { sfixed32Builder_.mergeFrom(value); } sfixed32Builder_.setMessage(value); } typeCase_ = 11; return this; } /** * optional .validate.SFixed32Rules sfixed32 = 11; */ public Builder clearSfixed32() { if (sfixed32Builder_ == null) { if (typeCase_ == 11) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 11) { typeCase_ = 0; type_ = null; } sfixed32Builder_.clear(); } return this; } /** * optional .validate.SFixed32Rules sfixed32 = 11; */ public com.lyft.pgv.validate.Validate.SFixed32Rules.Builder getSfixed32Builder() { return getSfixed32FieldBuilder().getBuilder(); } /** * optional .validate.SFixed32Rules sfixed32 = 11; */ public com.lyft.pgv.validate.Validate.SFixed32RulesOrBuilder getSfixed32OrBuilder() { if ((typeCase_ == 11) && (sfixed32Builder_ != null)) { return sfixed32Builder_.getMessageOrBuilder(); } else { if (typeCase_ == 11) { return (com.lyft.pgv.validate.Validate.SFixed32Rules) type_; } return com.lyft.pgv.validate.Validate.SFixed32Rules.getDefaultInstance(); } } /** * optional .validate.SFixed32Rules sfixed32 = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SFixed32Rules, com.lyft.pgv.validate.Validate.SFixed32Rules.Builder, com.lyft.pgv.validate.Validate.SFixed32RulesOrBuilder> getSfixed32FieldBuilder() { if (sfixed32Builder_ == null) { if (!(typeCase_ == 11)) { type_ = com.lyft.pgv.validate.Validate.SFixed32Rules.getDefaultInstance(); } sfixed32Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SFixed32Rules, com.lyft.pgv.validate.Validate.SFixed32Rules.Builder, com.lyft.pgv.validate.Validate.SFixed32RulesOrBuilder>( (com.lyft.pgv.validate.Validate.SFixed32Rules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 11; onChanged();; return sfixed32Builder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SFixed64Rules, com.lyft.pgv.validate.Validate.SFixed64Rules.Builder, com.lyft.pgv.validate.Validate.SFixed64RulesOrBuilder> sfixed64Builder_; /** * optional .validate.SFixed64Rules sfixed64 = 12; */ public boolean hasSfixed64() { return typeCase_ == 12; } /** * optional .validate.SFixed64Rules sfixed64 = 12; */ public com.lyft.pgv.validate.Validate.SFixed64Rules getSfixed64() { if (sfixed64Builder_ == null) { if (typeCase_ == 12) { return (com.lyft.pgv.validate.Validate.SFixed64Rules) type_; } return com.lyft.pgv.validate.Validate.SFixed64Rules.getDefaultInstance(); } else { if (typeCase_ == 12) { return sfixed64Builder_.getMessage(); } return com.lyft.pgv.validate.Validate.SFixed64Rules.getDefaultInstance(); } } /** * optional .validate.SFixed64Rules sfixed64 = 12; */ public Builder setSfixed64(com.lyft.pgv.validate.Validate.SFixed64Rules value) { if (sfixed64Builder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { sfixed64Builder_.setMessage(value); } typeCase_ = 12; return this; } /** * optional .validate.SFixed64Rules sfixed64 = 12; */ public Builder setSfixed64( com.lyft.pgv.validate.Validate.SFixed64Rules.Builder builderForValue) { if (sfixed64Builder_ == null) { type_ = builderForValue.build(); onChanged(); } else { sfixed64Builder_.setMessage(builderForValue.build()); } typeCase_ = 12; return this; } /** * optional .validate.SFixed64Rules sfixed64 = 12; */ public Builder mergeSfixed64(com.lyft.pgv.validate.Validate.SFixed64Rules value) { if (sfixed64Builder_ == null) { if (typeCase_ == 12 && type_ != com.lyft.pgv.validate.Validate.SFixed64Rules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.SFixed64Rules.newBuilder((com.lyft.pgv.validate.Validate.SFixed64Rules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 12) { sfixed64Builder_.mergeFrom(value); } sfixed64Builder_.setMessage(value); } typeCase_ = 12; return this; } /** * optional .validate.SFixed64Rules sfixed64 = 12; */ public Builder clearSfixed64() { if (sfixed64Builder_ == null) { if (typeCase_ == 12) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 12) { typeCase_ = 0; type_ = null; } sfixed64Builder_.clear(); } return this; } /** * optional .validate.SFixed64Rules sfixed64 = 12; */ public com.lyft.pgv.validate.Validate.SFixed64Rules.Builder getSfixed64Builder() { return getSfixed64FieldBuilder().getBuilder(); } /** * optional .validate.SFixed64Rules sfixed64 = 12; */ public com.lyft.pgv.validate.Validate.SFixed64RulesOrBuilder getSfixed64OrBuilder() { if ((typeCase_ == 12) && (sfixed64Builder_ != null)) { return sfixed64Builder_.getMessageOrBuilder(); } else { if (typeCase_ == 12) { return (com.lyft.pgv.validate.Validate.SFixed64Rules) type_; } return com.lyft.pgv.validate.Validate.SFixed64Rules.getDefaultInstance(); } } /** * optional .validate.SFixed64Rules sfixed64 = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SFixed64Rules, com.lyft.pgv.validate.Validate.SFixed64Rules.Builder, com.lyft.pgv.validate.Validate.SFixed64RulesOrBuilder> getSfixed64FieldBuilder() { if (sfixed64Builder_ == null) { if (!(typeCase_ == 12)) { type_ = com.lyft.pgv.validate.Validate.SFixed64Rules.getDefaultInstance(); } sfixed64Builder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.SFixed64Rules, com.lyft.pgv.validate.Validate.SFixed64Rules.Builder, com.lyft.pgv.validate.Validate.SFixed64RulesOrBuilder>( (com.lyft.pgv.validate.Validate.SFixed64Rules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 12; onChanged();; return sfixed64Builder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.BoolRules, com.lyft.pgv.validate.Validate.BoolRules.Builder, com.lyft.pgv.validate.Validate.BoolRulesOrBuilder> boolBuilder_; /** * optional .validate.BoolRules bool = 13; */ public boolean hasBool() { return typeCase_ == 13; } /** * optional .validate.BoolRules bool = 13; */ public com.lyft.pgv.validate.Validate.BoolRules getBool() { if (boolBuilder_ == null) { if (typeCase_ == 13) { return (com.lyft.pgv.validate.Validate.BoolRules) type_; } return com.lyft.pgv.validate.Validate.BoolRules.getDefaultInstance(); } else { if (typeCase_ == 13) { return boolBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.BoolRules.getDefaultInstance(); } } /** * optional .validate.BoolRules bool = 13; */ public Builder setBool(com.lyft.pgv.validate.Validate.BoolRules value) { if (boolBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { boolBuilder_.setMessage(value); } typeCase_ = 13; return this; } /** * optional .validate.BoolRules bool = 13; */ public Builder setBool( com.lyft.pgv.validate.Validate.BoolRules.Builder builderForValue) { if (boolBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { boolBuilder_.setMessage(builderForValue.build()); } typeCase_ = 13; return this; } /** * optional .validate.BoolRules bool = 13; */ public Builder mergeBool(com.lyft.pgv.validate.Validate.BoolRules value) { if (boolBuilder_ == null) { if (typeCase_ == 13 && type_ != com.lyft.pgv.validate.Validate.BoolRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.BoolRules.newBuilder((com.lyft.pgv.validate.Validate.BoolRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 13) { boolBuilder_.mergeFrom(value); } boolBuilder_.setMessage(value); } typeCase_ = 13; return this; } /** * optional .validate.BoolRules bool = 13; */ public Builder clearBool() { if (boolBuilder_ == null) { if (typeCase_ == 13) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 13) { typeCase_ = 0; type_ = null; } boolBuilder_.clear(); } return this; } /** * optional .validate.BoolRules bool = 13; */ public com.lyft.pgv.validate.Validate.BoolRules.Builder getBoolBuilder() { return getBoolFieldBuilder().getBuilder(); } /** * optional .validate.BoolRules bool = 13; */ public com.lyft.pgv.validate.Validate.BoolRulesOrBuilder getBoolOrBuilder() { if ((typeCase_ == 13) && (boolBuilder_ != null)) { return boolBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 13) { return (com.lyft.pgv.validate.Validate.BoolRules) type_; } return com.lyft.pgv.validate.Validate.BoolRules.getDefaultInstance(); } } /** * optional .validate.BoolRules bool = 13; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.BoolRules, com.lyft.pgv.validate.Validate.BoolRules.Builder, com.lyft.pgv.validate.Validate.BoolRulesOrBuilder> getBoolFieldBuilder() { if (boolBuilder_ == null) { if (!(typeCase_ == 13)) { type_ = com.lyft.pgv.validate.Validate.BoolRules.getDefaultInstance(); } boolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.BoolRules, com.lyft.pgv.validate.Validate.BoolRules.Builder, com.lyft.pgv.validate.Validate.BoolRulesOrBuilder>( (com.lyft.pgv.validate.Validate.BoolRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 13; onChanged();; return boolBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.StringRules, com.lyft.pgv.validate.Validate.StringRules.Builder, com.lyft.pgv.validate.Validate.StringRulesOrBuilder> stringBuilder_; /** * optional .validate.StringRules string = 14; */ public boolean hasString() { return typeCase_ == 14; } /** * optional .validate.StringRules string = 14; */ public com.lyft.pgv.validate.Validate.StringRules getString() { if (stringBuilder_ == null) { if (typeCase_ == 14) { return (com.lyft.pgv.validate.Validate.StringRules) type_; } return com.lyft.pgv.validate.Validate.StringRules.getDefaultInstance(); } else { if (typeCase_ == 14) { return stringBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.StringRules.getDefaultInstance(); } } /** * optional .validate.StringRules string = 14; */ public Builder setString(com.lyft.pgv.validate.Validate.StringRules value) { if (stringBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { stringBuilder_.setMessage(value); } typeCase_ = 14; return this; } /** * optional .validate.StringRules string = 14; */ public Builder setString( com.lyft.pgv.validate.Validate.StringRules.Builder builderForValue) { if (stringBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { stringBuilder_.setMessage(builderForValue.build()); } typeCase_ = 14; return this; } /** * optional .validate.StringRules string = 14; */ public Builder mergeString(com.lyft.pgv.validate.Validate.StringRules value) { if (stringBuilder_ == null) { if (typeCase_ == 14 && type_ != com.lyft.pgv.validate.Validate.StringRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.StringRules.newBuilder((com.lyft.pgv.validate.Validate.StringRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 14) { stringBuilder_.mergeFrom(value); } stringBuilder_.setMessage(value); } typeCase_ = 14; return this; } /** * optional .validate.StringRules string = 14; */ public Builder clearString() { if (stringBuilder_ == null) { if (typeCase_ == 14) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 14) { typeCase_ = 0; type_ = null; } stringBuilder_.clear(); } return this; } /** * optional .validate.StringRules string = 14; */ public com.lyft.pgv.validate.Validate.StringRules.Builder getStringBuilder() { return getStringFieldBuilder().getBuilder(); } /** * optional .validate.StringRules string = 14; */ public com.lyft.pgv.validate.Validate.StringRulesOrBuilder getStringOrBuilder() { if ((typeCase_ == 14) && (stringBuilder_ != null)) { return stringBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 14) { return (com.lyft.pgv.validate.Validate.StringRules) type_; } return com.lyft.pgv.validate.Validate.StringRules.getDefaultInstance(); } } /** * optional .validate.StringRules string = 14; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.StringRules, com.lyft.pgv.validate.Validate.StringRules.Builder, com.lyft.pgv.validate.Validate.StringRulesOrBuilder> getStringFieldBuilder() { if (stringBuilder_ == null) { if (!(typeCase_ == 14)) { type_ = com.lyft.pgv.validate.Validate.StringRules.getDefaultInstance(); } stringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.StringRules, com.lyft.pgv.validate.Validate.StringRules.Builder, com.lyft.pgv.validate.Validate.StringRulesOrBuilder>( (com.lyft.pgv.validate.Validate.StringRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 14; onChanged();; return stringBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.BytesRules, com.lyft.pgv.validate.Validate.BytesRules.Builder, com.lyft.pgv.validate.Validate.BytesRulesOrBuilder> bytesBuilder_; /** * optional .validate.BytesRules bytes = 15; */ public boolean hasBytes() { return typeCase_ == 15; } /** * optional .validate.BytesRules bytes = 15; */ public com.lyft.pgv.validate.Validate.BytesRules getBytes() { if (bytesBuilder_ == null) { if (typeCase_ == 15) { return (com.lyft.pgv.validate.Validate.BytesRules) type_; } return com.lyft.pgv.validate.Validate.BytesRules.getDefaultInstance(); } else { if (typeCase_ == 15) { return bytesBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.BytesRules.getDefaultInstance(); } } /** * optional .validate.BytesRules bytes = 15; */ public Builder setBytes(com.lyft.pgv.validate.Validate.BytesRules value) { if (bytesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { bytesBuilder_.setMessage(value); } typeCase_ = 15; return this; } /** * optional .validate.BytesRules bytes = 15; */ public Builder setBytes( com.lyft.pgv.validate.Validate.BytesRules.Builder builderForValue) { if (bytesBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { bytesBuilder_.setMessage(builderForValue.build()); } typeCase_ = 15; return this; } /** * optional .validate.BytesRules bytes = 15; */ public Builder mergeBytes(com.lyft.pgv.validate.Validate.BytesRules value) { if (bytesBuilder_ == null) { if (typeCase_ == 15 && type_ != com.lyft.pgv.validate.Validate.BytesRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.BytesRules.newBuilder((com.lyft.pgv.validate.Validate.BytesRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 15) { bytesBuilder_.mergeFrom(value); } bytesBuilder_.setMessage(value); } typeCase_ = 15; return this; } /** * optional .validate.BytesRules bytes = 15; */ public Builder clearBytes() { if (bytesBuilder_ == null) { if (typeCase_ == 15) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 15) { typeCase_ = 0; type_ = null; } bytesBuilder_.clear(); } return this; } /** * optional .validate.BytesRules bytes = 15; */ public com.lyft.pgv.validate.Validate.BytesRules.Builder getBytesBuilder() { return getBytesFieldBuilder().getBuilder(); } /** * optional .validate.BytesRules bytes = 15; */ public com.lyft.pgv.validate.Validate.BytesRulesOrBuilder getBytesOrBuilder() { if ((typeCase_ == 15) && (bytesBuilder_ != null)) { return bytesBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 15) { return (com.lyft.pgv.validate.Validate.BytesRules) type_; } return com.lyft.pgv.validate.Validate.BytesRules.getDefaultInstance(); } } /** * optional .validate.BytesRules bytes = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.BytesRules, com.lyft.pgv.validate.Validate.BytesRules.Builder, com.lyft.pgv.validate.Validate.BytesRulesOrBuilder> getBytesFieldBuilder() { if (bytesBuilder_ == null) { if (!(typeCase_ == 15)) { type_ = com.lyft.pgv.validate.Validate.BytesRules.getDefaultInstance(); } bytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.BytesRules, com.lyft.pgv.validate.Validate.BytesRules.Builder, com.lyft.pgv.validate.Validate.BytesRulesOrBuilder>( (com.lyft.pgv.validate.Validate.BytesRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 15; onChanged();; return bytesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.EnumRules, com.lyft.pgv.validate.Validate.EnumRules.Builder, com.lyft.pgv.validate.Validate.EnumRulesOrBuilder> enumBuilder_; /** *
       * Complex Field Types
       * 
* * optional .validate.EnumRules enum = 16; */ public boolean hasEnum() { return typeCase_ == 16; } /** *
       * Complex Field Types
       * 
* * optional .validate.EnumRules enum = 16; */ public com.lyft.pgv.validate.Validate.EnumRules getEnum() { if (enumBuilder_ == null) { if (typeCase_ == 16) { return (com.lyft.pgv.validate.Validate.EnumRules) type_; } return com.lyft.pgv.validate.Validate.EnumRules.getDefaultInstance(); } else { if (typeCase_ == 16) { return enumBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.EnumRules.getDefaultInstance(); } } /** *
       * Complex Field Types
       * 
* * optional .validate.EnumRules enum = 16; */ public Builder setEnum(com.lyft.pgv.validate.Validate.EnumRules value) { if (enumBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { enumBuilder_.setMessage(value); } typeCase_ = 16; return this; } /** *
       * Complex Field Types
       * 
* * optional .validate.EnumRules enum = 16; */ public Builder setEnum( com.lyft.pgv.validate.Validate.EnumRules.Builder builderForValue) { if (enumBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { enumBuilder_.setMessage(builderForValue.build()); } typeCase_ = 16; return this; } /** *
       * Complex Field Types
       * 
* * optional .validate.EnumRules enum = 16; */ public Builder mergeEnum(com.lyft.pgv.validate.Validate.EnumRules value) { if (enumBuilder_ == null) { if (typeCase_ == 16 && type_ != com.lyft.pgv.validate.Validate.EnumRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.EnumRules.newBuilder((com.lyft.pgv.validate.Validate.EnumRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 16) { enumBuilder_.mergeFrom(value); } enumBuilder_.setMessage(value); } typeCase_ = 16; return this; } /** *
       * Complex Field Types
       * 
* * optional .validate.EnumRules enum = 16; */ public Builder clearEnum() { if (enumBuilder_ == null) { if (typeCase_ == 16) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 16) { typeCase_ = 0; type_ = null; } enumBuilder_.clear(); } return this; } /** *
       * Complex Field Types
       * 
* * optional .validate.EnumRules enum = 16; */ public com.lyft.pgv.validate.Validate.EnumRules.Builder getEnumBuilder() { return getEnumFieldBuilder().getBuilder(); } /** *
       * Complex Field Types
       * 
* * optional .validate.EnumRules enum = 16; */ public com.lyft.pgv.validate.Validate.EnumRulesOrBuilder getEnumOrBuilder() { if ((typeCase_ == 16) && (enumBuilder_ != null)) { return enumBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 16) { return (com.lyft.pgv.validate.Validate.EnumRules) type_; } return com.lyft.pgv.validate.Validate.EnumRules.getDefaultInstance(); } } /** *
       * Complex Field Types
       * 
* * optional .validate.EnumRules enum = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.EnumRules, com.lyft.pgv.validate.Validate.EnumRules.Builder, com.lyft.pgv.validate.Validate.EnumRulesOrBuilder> getEnumFieldBuilder() { if (enumBuilder_ == null) { if (!(typeCase_ == 16)) { type_ = com.lyft.pgv.validate.Validate.EnumRules.getDefaultInstance(); } enumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.EnumRules, com.lyft.pgv.validate.Validate.EnumRules.Builder, com.lyft.pgv.validate.Validate.EnumRulesOrBuilder>( (com.lyft.pgv.validate.Validate.EnumRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 16; onChanged();; return enumBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.MessageRules, com.lyft.pgv.validate.Validate.MessageRules.Builder, com.lyft.pgv.validate.Validate.MessageRulesOrBuilder> messageBuilder_; /** * optional .validate.MessageRules message = 17; */ public boolean hasMessage() { return typeCase_ == 17; } /** * optional .validate.MessageRules message = 17; */ public com.lyft.pgv.validate.Validate.MessageRules getMessage() { if (messageBuilder_ == null) { if (typeCase_ == 17) { return (com.lyft.pgv.validate.Validate.MessageRules) type_; } return com.lyft.pgv.validate.Validate.MessageRules.getDefaultInstance(); } else { if (typeCase_ == 17) { return messageBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.MessageRules.getDefaultInstance(); } } /** * optional .validate.MessageRules message = 17; */ public Builder setMessage(com.lyft.pgv.validate.Validate.MessageRules value) { if (messageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { messageBuilder_.setMessage(value); } typeCase_ = 17; return this; } /** * optional .validate.MessageRules message = 17; */ public Builder setMessage( com.lyft.pgv.validate.Validate.MessageRules.Builder builderForValue) { if (messageBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { messageBuilder_.setMessage(builderForValue.build()); } typeCase_ = 17; return this; } /** * optional .validate.MessageRules message = 17; */ public Builder mergeMessage(com.lyft.pgv.validate.Validate.MessageRules value) { if (messageBuilder_ == null) { if (typeCase_ == 17 && type_ != com.lyft.pgv.validate.Validate.MessageRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.MessageRules.newBuilder((com.lyft.pgv.validate.Validate.MessageRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 17) { messageBuilder_.mergeFrom(value); } messageBuilder_.setMessage(value); } typeCase_ = 17; return this; } /** * optional .validate.MessageRules message = 17; */ public Builder clearMessage() { if (messageBuilder_ == null) { if (typeCase_ == 17) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 17) { typeCase_ = 0; type_ = null; } messageBuilder_.clear(); } return this; } /** * optional .validate.MessageRules message = 17; */ public com.lyft.pgv.validate.Validate.MessageRules.Builder getMessageBuilder() { return getMessageFieldBuilder().getBuilder(); } /** * optional .validate.MessageRules message = 17; */ public com.lyft.pgv.validate.Validate.MessageRulesOrBuilder getMessageOrBuilder() { if ((typeCase_ == 17) && (messageBuilder_ != null)) { return messageBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 17) { return (com.lyft.pgv.validate.Validate.MessageRules) type_; } return com.lyft.pgv.validate.Validate.MessageRules.getDefaultInstance(); } } /** * optional .validate.MessageRules message = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.MessageRules, com.lyft.pgv.validate.Validate.MessageRules.Builder, com.lyft.pgv.validate.Validate.MessageRulesOrBuilder> getMessageFieldBuilder() { if (messageBuilder_ == null) { if (!(typeCase_ == 17)) { type_ = com.lyft.pgv.validate.Validate.MessageRules.getDefaultInstance(); } messageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.MessageRules, com.lyft.pgv.validate.Validate.MessageRules.Builder, com.lyft.pgv.validate.Validate.MessageRulesOrBuilder>( (com.lyft.pgv.validate.Validate.MessageRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 17; onChanged();; return messageBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.RepeatedRules, com.lyft.pgv.validate.Validate.RepeatedRules.Builder, com.lyft.pgv.validate.Validate.RepeatedRulesOrBuilder> repeatedBuilder_; /** * optional .validate.RepeatedRules repeated = 18; */ public boolean hasRepeated() { return typeCase_ == 18; } /** * optional .validate.RepeatedRules repeated = 18; */ public com.lyft.pgv.validate.Validate.RepeatedRules getRepeated() { if (repeatedBuilder_ == null) { if (typeCase_ == 18) { return (com.lyft.pgv.validate.Validate.RepeatedRules) type_; } return com.lyft.pgv.validate.Validate.RepeatedRules.getDefaultInstance(); } else { if (typeCase_ == 18) { return repeatedBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.RepeatedRules.getDefaultInstance(); } } /** * optional .validate.RepeatedRules repeated = 18; */ public Builder setRepeated(com.lyft.pgv.validate.Validate.RepeatedRules value) { if (repeatedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { repeatedBuilder_.setMessage(value); } typeCase_ = 18; return this; } /** * optional .validate.RepeatedRules repeated = 18; */ public Builder setRepeated( com.lyft.pgv.validate.Validate.RepeatedRules.Builder builderForValue) { if (repeatedBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { repeatedBuilder_.setMessage(builderForValue.build()); } typeCase_ = 18; return this; } /** * optional .validate.RepeatedRules repeated = 18; */ public Builder mergeRepeated(com.lyft.pgv.validate.Validate.RepeatedRules value) { if (repeatedBuilder_ == null) { if (typeCase_ == 18 && type_ != com.lyft.pgv.validate.Validate.RepeatedRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.RepeatedRules.newBuilder((com.lyft.pgv.validate.Validate.RepeatedRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 18) { repeatedBuilder_.mergeFrom(value); } repeatedBuilder_.setMessage(value); } typeCase_ = 18; return this; } /** * optional .validate.RepeatedRules repeated = 18; */ public Builder clearRepeated() { if (repeatedBuilder_ == null) { if (typeCase_ == 18) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 18) { typeCase_ = 0; type_ = null; } repeatedBuilder_.clear(); } return this; } /** * optional .validate.RepeatedRules repeated = 18; */ public com.lyft.pgv.validate.Validate.RepeatedRules.Builder getRepeatedBuilder() { return getRepeatedFieldBuilder().getBuilder(); } /** * optional .validate.RepeatedRules repeated = 18; */ public com.lyft.pgv.validate.Validate.RepeatedRulesOrBuilder getRepeatedOrBuilder() { if ((typeCase_ == 18) && (repeatedBuilder_ != null)) { return repeatedBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 18) { return (com.lyft.pgv.validate.Validate.RepeatedRules) type_; } return com.lyft.pgv.validate.Validate.RepeatedRules.getDefaultInstance(); } } /** * optional .validate.RepeatedRules repeated = 18; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.RepeatedRules, com.lyft.pgv.validate.Validate.RepeatedRules.Builder, com.lyft.pgv.validate.Validate.RepeatedRulesOrBuilder> getRepeatedFieldBuilder() { if (repeatedBuilder_ == null) { if (!(typeCase_ == 18)) { type_ = com.lyft.pgv.validate.Validate.RepeatedRules.getDefaultInstance(); } repeatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.RepeatedRules, com.lyft.pgv.validate.Validate.RepeatedRules.Builder, com.lyft.pgv.validate.Validate.RepeatedRulesOrBuilder>( (com.lyft.pgv.validate.Validate.RepeatedRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 18; onChanged();; return repeatedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.MapRules, com.lyft.pgv.validate.Validate.MapRules.Builder, com.lyft.pgv.validate.Validate.MapRulesOrBuilder> mapBuilder_; /** * optional .validate.MapRules map = 19; */ public boolean hasMap() { return typeCase_ == 19; } /** * optional .validate.MapRules map = 19; */ public com.lyft.pgv.validate.Validate.MapRules getMap() { if (mapBuilder_ == null) { if (typeCase_ == 19) { return (com.lyft.pgv.validate.Validate.MapRules) type_; } return com.lyft.pgv.validate.Validate.MapRules.getDefaultInstance(); } else { if (typeCase_ == 19) { return mapBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.MapRules.getDefaultInstance(); } } /** * optional .validate.MapRules map = 19; */ public Builder setMap(com.lyft.pgv.validate.Validate.MapRules value) { if (mapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { mapBuilder_.setMessage(value); } typeCase_ = 19; return this; } /** * optional .validate.MapRules map = 19; */ public Builder setMap( com.lyft.pgv.validate.Validate.MapRules.Builder builderForValue) { if (mapBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { mapBuilder_.setMessage(builderForValue.build()); } typeCase_ = 19; return this; } /** * optional .validate.MapRules map = 19; */ public Builder mergeMap(com.lyft.pgv.validate.Validate.MapRules value) { if (mapBuilder_ == null) { if (typeCase_ == 19 && type_ != com.lyft.pgv.validate.Validate.MapRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.MapRules.newBuilder((com.lyft.pgv.validate.Validate.MapRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 19) { mapBuilder_.mergeFrom(value); } mapBuilder_.setMessage(value); } typeCase_ = 19; return this; } /** * optional .validate.MapRules map = 19; */ public Builder clearMap() { if (mapBuilder_ == null) { if (typeCase_ == 19) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 19) { typeCase_ = 0; type_ = null; } mapBuilder_.clear(); } return this; } /** * optional .validate.MapRules map = 19; */ public com.lyft.pgv.validate.Validate.MapRules.Builder getMapBuilder() { return getMapFieldBuilder().getBuilder(); } /** * optional .validate.MapRules map = 19; */ public com.lyft.pgv.validate.Validate.MapRulesOrBuilder getMapOrBuilder() { if ((typeCase_ == 19) && (mapBuilder_ != null)) { return mapBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 19) { return (com.lyft.pgv.validate.Validate.MapRules) type_; } return com.lyft.pgv.validate.Validate.MapRules.getDefaultInstance(); } } /** * optional .validate.MapRules map = 19; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.MapRules, com.lyft.pgv.validate.Validate.MapRules.Builder, com.lyft.pgv.validate.Validate.MapRulesOrBuilder> getMapFieldBuilder() { if (mapBuilder_ == null) { if (!(typeCase_ == 19)) { type_ = com.lyft.pgv.validate.Validate.MapRules.getDefaultInstance(); } mapBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.MapRules, com.lyft.pgv.validate.Validate.MapRules.Builder, com.lyft.pgv.validate.Validate.MapRulesOrBuilder>( (com.lyft.pgv.validate.Validate.MapRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 19; onChanged();; return mapBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.AnyRules, com.lyft.pgv.validate.Validate.AnyRules.Builder, com.lyft.pgv.validate.Validate.AnyRulesOrBuilder> anyBuilder_; /** *
       * Well-Known Field Types
       * 
* * optional .validate.AnyRules any = 20; */ public boolean hasAny() { return typeCase_ == 20; } /** *
       * Well-Known Field Types
       * 
* * optional .validate.AnyRules any = 20; */ public com.lyft.pgv.validate.Validate.AnyRules getAny() { if (anyBuilder_ == null) { if (typeCase_ == 20) { return (com.lyft.pgv.validate.Validate.AnyRules) type_; } return com.lyft.pgv.validate.Validate.AnyRules.getDefaultInstance(); } else { if (typeCase_ == 20) { return anyBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.AnyRules.getDefaultInstance(); } } /** *
       * Well-Known Field Types
       * 
* * optional .validate.AnyRules any = 20; */ public Builder setAny(com.lyft.pgv.validate.Validate.AnyRules value) { if (anyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { anyBuilder_.setMessage(value); } typeCase_ = 20; return this; } /** *
       * Well-Known Field Types
       * 
* * optional .validate.AnyRules any = 20; */ public Builder setAny( com.lyft.pgv.validate.Validate.AnyRules.Builder builderForValue) { if (anyBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { anyBuilder_.setMessage(builderForValue.build()); } typeCase_ = 20; return this; } /** *
       * Well-Known Field Types
       * 
* * optional .validate.AnyRules any = 20; */ public Builder mergeAny(com.lyft.pgv.validate.Validate.AnyRules value) { if (anyBuilder_ == null) { if (typeCase_ == 20 && type_ != com.lyft.pgv.validate.Validate.AnyRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.AnyRules.newBuilder((com.lyft.pgv.validate.Validate.AnyRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 20) { anyBuilder_.mergeFrom(value); } anyBuilder_.setMessage(value); } typeCase_ = 20; return this; } /** *
       * Well-Known Field Types
       * 
* * optional .validate.AnyRules any = 20; */ public Builder clearAny() { if (anyBuilder_ == null) { if (typeCase_ == 20) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 20) { typeCase_ = 0; type_ = null; } anyBuilder_.clear(); } return this; } /** *
       * Well-Known Field Types
       * 
* * optional .validate.AnyRules any = 20; */ public com.lyft.pgv.validate.Validate.AnyRules.Builder getAnyBuilder() { return getAnyFieldBuilder().getBuilder(); } /** *
       * Well-Known Field Types
       * 
* * optional .validate.AnyRules any = 20; */ public com.lyft.pgv.validate.Validate.AnyRulesOrBuilder getAnyOrBuilder() { if ((typeCase_ == 20) && (anyBuilder_ != null)) { return anyBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 20) { return (com.lyft.pgv.validate.Validate.AnyRules) type_; } return com.lyft.pgv.validate.Validate.AnyRules.getDefaultInstance(); } } /** *
       * Well-Known Field Types
       * 
* * optional .validate.AnyRules any = 20; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.AnyRules, com.lyft.pgv.validate.Validate.AnyRules.Builder, com.lyft.pgv.validate.Validate.AnyRulesOrBuilder> getAnyFieldBuilder() { if (anyBuilder_ == null) { if (!(typeCase_ == 20)) { type_ = com.lyft.pgv.validate.Validate.AnyRules.getDefaultInstance(); } anyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.AnyRules, com.lyft.pgv.validate.Validate.AnyRules.Builder, com.lyft.pgv.validate.Validate.AnyRulesOrBuilder>( (com.lyft.pgv.validate.Validate.AnyRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 20; onChanged();; return anyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.DurationRules, com.lyft.pgv.validate.Validate.DurationRules.Builder, com.lyft.pgv.validate.Validate.DurationRulesOrBuilder> durationBuilder_; /** * optional .validate.DurationRules duration = 21; */ public boolean hasDuration() { return typeCase_ == 21; } /** * optional .validate.DurationRules duration = 21; */ public com.lyft.pgv.validate.Validate.DurationRules getDuration() { if (durationBuilder_ == null) { if (typeCase_ == 21) { return (com.lyft.pgv.validate.Validate.DurationRules) type_; } return com.lyft.pgv.validate.Validate.DurationRules.getDefaultInstance(); } else { if (typeCase_ == 21) { return durationBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.DurationRules.getDefaultInstance(); } } /** * optional .validate.DurationRules duration = 21; */ public Builder setDuration(com.lyft.pgv.validate.Validate.DurationRules value) { if (durationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { durationBuilder_.setMessage(value); } typeCase_ = 21; return this; } /** * optional .validate.DurationRules duration = 21; */ public Builder setDuration( com.lyft.pgv.validate.Validate.DurationRules.Builder builderForValue) { if (durationBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { durationBuilder_.setMessage(builderForValue.build()); } typeCase_ = 21; return this; } /** * optional .validate.DurationRules duration = 21; */ public Builder mergeDuration(com.lyft.pgv.validate.Validate.DurationRules value) { if (durationBuilder_ == null) { if (typeCase_ == 21 && type_ != com.lyft.pgv.validate.Validate.DurationRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.DurationRules.newBuilder((com.lyft.pgv.validate.Validate.DurationRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 21) { durationBuilder_.mergeFrom(value); } durationBuilder_.setMessage(value); } typeCase_ = 21; return this; } /** * optional .validate.DurationRules duration = 21; */ public Builder clearDuration() { if (durationBuilder_ == null) { if (typeCase_ == 21) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 21) { typeCase_ = 0; type_ = null; } durationBuilder_.clear(); } return this; } /** * optional .validate.DurationRules duration = 21; */ public com.lyft.pgv.validate.Validate.DurationRules.Builder getDurationBuilder() { return getDurationFieldBuilder().getBuilder(); } /** * optional .validate.DurationRules duration = 21; */ public com.lyft.pgv.validate.Validate.DurationRulesOrBuilder getDurationOrBuilder() { if ((typeCase_ == 21) && (durationBuilder_ != null)) { return durationBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 21) { return (com.lyft.pgv.validate.Validate.DurationRules) type_; } return com.lyft.pgv.validate.Validate.DurationRules.getDefaultInstance(); } } /** * optional .validate.DurationRules duration = 21; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.DurationRules, com.lyft.pgv.validate.Validate.DurationRules.Builder, com.lyft.pgv.validate.Validate.DurationRulesOrBuilder> getDurationFieldBuilder() { if (durationBuilder_ == null) { if (!(typeCase_ == 21)) { type_ = com.lyft.pgv.validate.Validate.DurationRules.getDefaultInstance(); } durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.DurationRules, com.lyft.pgv.validate.Validate.DurationRules.Builder, com.lyft.pgv.validate.Validate.DurationRulesOrBuilder>( (com.lyft.pgv.validate.Validate.DurationRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 21; onChanged();; return durationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.TimestampRules, com.lyft.pgv.validate.Validate.TimestampRules.Builder, com.lyft.pgv.validate.Validate.TimestampRulesOrBuilder> timestampBuilder_; /** * optional .validate.TimestampRules timestamp = 22; */ public boolean hasTimestamp() { return typeCase_ == 22; } /** * optional .validate.TimestampRules timestamp = 22; */ public com.lyft.pgv.validate.Validate.TimestampRules getTimestamp() { if (timestampBuilder_ == null) { if (typeCase_ == 22) { return (com.lyft.pgv.validate.Validate.TimestampRules) type_; } return com.lyft.pgv.validate.Validate.TimestampRules.getDefaultInstance(); } else { if (typeCase_ == 22) { return timestampBuilder_.getMessage(); } return com.lyft.pgv.validate.Validate.TimestampRules.getDefaultInstance(); } } /** * optional .validate.TimestampRules timestamp = 22; */ public Builder setTimestamp(com.lyft.pgv.validate.Validate.TimestampRules value) { if (timestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { timestampBuilder_.setMessage(value); } typeCase_ = 22; return this; } /** * optional .validate.TimestampRules timestamp = 22; */ public Builder setTimestamp( com.lyft.pgv.validate.Validate.TimestampRules.Builder builderForValue) { if (timestampBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { timestampBuilder_.setMessage(builderForValue.build()); } typeCase_ = 22; return this; } /** * optional .validate.TimestampRules timestamp = 22; */ public Builder mergeTimestamp(com.lyft.pgv.validate.Validate.TimestampRules value) { if (timestampBuilder_ == null) { if (typeCase_ == 22 && type_ != com.lyft.pgv.validate.Validate.TimestampRules.getDefaultInstance()) { type_ = com.lyft.pgv.validate.Validate.TimestampRules.newBuilder((com.lyft.pgv.validate.Validate.TimestampRules) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 22) { timestampBuilder_.mergeFrom(value); } timestampBuilder_.setMessage(value); } typeCase_ = 22; return this; } /** * optional .validate.TimestampRules timestamp = 22; */ public Builder clearTimestamp() { if (timestampBuilder_ == null) { if (typeCase_ == 22) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 22) { typeCase_ = 0; type_ = null; } timestampBuilder_.clear(); } return this; } /** * optional .validate.TimestampRules timestamp = 22; */ public com.lyft.pgv.validate.Validate.TimestampRules.Builder getTimestampBuilder() { return getTimestampFieldBuilder().getBuilder(); } /** * optional .validate.TimestampRules timestamp = 22; */ public com.lyft.pgv.validate.Validate.TimestampRulesOrBuilder getTimestampOrBuilder() { if ((typeCase_ == 22) && (timestampBuilder_ != null)) { return timestampBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 22) { return (com.lyft.pgv.validate.Validate.TimestampRules) type_; } return com.lyft.pgv.validate.Validate.TimestampRules.getDefaultInstance(); } } /** * optional .validate.TimestampRules timestamp = 22; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.TimestampRules, com.lyft.pgv.validate.Validate.TimestampRules.Builder, com.lyft.pgv.validate.Validate.TimestampRulesOrBuilder> getTimestampFieldBuilder() { if (timestampBuilder_ == null) { if (!(typeCase_ == 22)) { type_ = com.lyft.pgv.validate.Validate.TimestampRules.getDefaultInstance(); } timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.TimestampRules, com.lyft.pgv.validate.Validate.TimestampRules.Builder, com.lyft.pgv.validate.Validate.TimestampRulesOrBuilder>( (com.lyft.pgv.validate.Validate.TimestampRules) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 22; onChanged();; return timestampBuilder_; } @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:validate.FieldRules) } // @@protoc_insertion_point(class_scope:validate.FieldRules) private static final com.lyft.pgv.validate.Validate.FieldRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.FieldRules(); } public static com.lyft.pgv.validate.Validate.FieldRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FieldRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FieldRules(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.lyft.pgv.validate.Validate.FieldRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FloatRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.FloatRules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional float const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional float const = 1; */ float getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional float lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional float lt = 2; */ float getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional float lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional float lte = 3; */ float getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional float gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional float gt = 4; */ float getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional float gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional float gte = 5; */ float getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated float in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated float in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated float in = 6; */ float getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated float not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated float not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated float not_in = 7; */ float getNotIn(int index); } /** *
   * FloatRules describes the constraints applied to `float` values
   * 
* * Protobuf type {@code validate.FloatRules} */ public static final class FloatRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.FloatRules) FloatRulesOrBuilder { private static final long serialVersionUID = 0L; // Use FloatRules.newBuilder() to construct. private FloatRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FloatRules() { in_ = emptyFloatList(); notIn_ = emptyFloatList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FloatRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FloatRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 13: { bitField0_ |= 0x00000001; const_ = input.readFloat(); break; } case 21: { bitField0_ |= 0x00000002; lt_ = input.readFloat(); break; } case 29: { bitField0_ |= 0x00000004; lte_ = input.readFloat(); break; } case 37: { bitField0_ |= 0x00000008; gt_ = input.readFloat(); break; } case 45: { bitField0_ |= 0x00000010; gte_ = input.readFloat(); break; } case 53: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newFloatList(); mutable_bitField0_ |= 0x00000020; } in_.addFloat(input.readFloat()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newFloatList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addFloat(input.readFloat()); } input.popLimit(limit); break; } case 61: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newFloatList(); mutable_bitField0_ |= 0x00000040; } notIn_.addFloat(input.readFloat()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newFloatList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addFloat(input.readFloat()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_FloatRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_FloatRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.FloatRules.class, com.lyft.pgv.validate.Validate.FloatRules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private float const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional float const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional float const = 1; */ public float getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private float lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional float lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional float lt = 2; */ public float getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private float lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional float lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional float lte = 3; */ public float getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private float gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional float gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional float gt = 4; */ public float getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private float gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional float gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional float gte = 5; */ public float getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.FloatList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated float in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated float in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated float in = 6; */ public float getIn(int index) { return in_.getFloat(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.FloatList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated float not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated float not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated float not_in = 7; */ public float getNotIn(int index) { return notIn_.getFloat(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeFloat(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeFloat(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeFloat(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeFloat(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeFloat(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeFloat(6, in_.getFloat(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeFloat(7, notIn_.getFloat(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(5, gte_); } { int dataSize = 0; dataSize = 4 * getInList().size(); size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; dataSize = 4 * getNotInList().size(); size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.FloatRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.FloatRules other = (com.lyft.pgv.validate.Validate.FloatRules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (java.lang.Float.floatToIntBits(getConst()) != java.lang.Float.floatToIntBits( other.getConst())) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (java.lang.Float.floatToIntBits(getLt()) != java.lang.Float.floatToIntBits( other.getLt())) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (java.lang.Float.floatToIntBits(getLte()) != java.lang.Float.floatToIntBits( other.getLte())) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (java.lang.Float.floatToIntBits(getGt()) != java.lang.Float.floatToIntBits( other.getGt())) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (java.lang.Float.floatToIntBits(getGte()) != java.lang.Float.floatToIntBits( other.getGte())) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getConst()); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getLt()); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getLte()); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getGt()); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getGte()); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.FloatRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.FloatRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.FloatRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.FloatRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.FloatRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.FloatRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.FloatRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.FloatRules 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.lyft.pgv.validate.Validate.FloatRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.FloatRules 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.lyft.pgv.validate.Validate.FloatRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.FloatRules 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.lyft.pgv.validate.Validate.FloatRules 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; } /** *
     * FloatRules describes the constraints applied to `float` values
     * 
* * Protobuf type {@code validate.FloatRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.FloatRules) com.lyft.pgv.validate.Validate.FloatRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_FloatRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_FloatRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.FloatRules.class, com.lyft.pgv.validate.Validate.FloatRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.FloatRules.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(); const_ = 0F; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0F; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0F; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0F; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0F; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyFloatList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyFloatList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_FloatRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.FloatRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.FloatRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.FloatRules build() { com.lyft.pgv.validate.Validate.FloatRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.FloatRules buildPartial() { com.lyft.pgv.validate.Validate.FloatRules result = new com.lyft.pgv.validate.Validate.FloatRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.FloatRules) { return mergeFrom((com.lyft.pgv.validate.Validate.FloatRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.FloatRules other) { if (other == com.lyft.pgv.validate.Validate.FloatRules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.FloatRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.FloatRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private float const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional float const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional float const = 1; */ public float getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional float const = 1; */ public Builder setConst(float value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional float const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0F; onChanged(); return this; } private float lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional float lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional float lt = 2; */ public float getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional float lt = 2; */ public Builder setLt(float value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional float lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0F; onChanged(); return this; } private float lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional float lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional float lte = 3; */ public float getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional float lte = 3; */ public Builder setLte(float value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional float lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0F; onChanged(); return this; } private float gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional float gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional float gt = 4; */ public float getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional float gt = 4; */ public Builder setGt(float value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional float gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0F; onChanged(); return this; } private float gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional float gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional float gte = 5; */ public float getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional float gte = 5; */ public Builder setGte(float value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional float gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0F; onChanged(); return this; } private com.google.protobuf.Internal.FloatList in_ = emptyFloatList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated float in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated float in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated float in = 6; */ public float getIn(int index) { return in_.getFloat(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated float in = 6; */ public Builder setIn( int index, float value) { ensureInIsMutable(); in_.setFloat(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated float in = 6; */ public Builder addIn(float value) { ensureInIsMutable(); in_.addFloat(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated float in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated float in = 6; */ public Builder clearIn() { in_ = emptyFloatList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.FloatList notIn_ = emptyFloatList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated float not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated float not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated float not_in = 7; */ public float getNotIn(int index) { return notIn_.getFloat(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated float not_in = 7; */ public Builder setNotIn( int index, float value) { ensureNotInIsMutable(); notIn_.setFloat(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated float not_in = 7; */ public Builder addNotIn(float value) { ensureNotInIsMutable(); notIn_.addFloat(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated float not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated float not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyFloatList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.FloatRules) } // @@protoc_insertion_point(class_scope:validate.FloatRules) private static final com.lyft.pgv.validate.Validate.FloatRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.FloatRules(); } public static com.lyft.pgv.validate.Validate.FloatRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FloatRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FloatRules(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.lyft.pgv.validate.Validate.FloatRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DoubleRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.DoubleRules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional double const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional double const = 1; */ double getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional double lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional double lt = 2; */ double getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional double lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional double lte = 3; */ double getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional double gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional double gt = 4; */ double getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional double gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional double gte = 5; */ double getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated double in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated double in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated double in = 6; */ double getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated double not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated double not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated double not_in = 7; */ double getNotIn(int index); } /** *
   * DoubleRules describes the constraints applied to `double` values
   * 
* * Protobuf type {@code validate.DoubleRules} */ public static final class DoubleRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.DoubleRules) DoubleRulesOrBuilder { private static final long serialVersionUID = 0L; // Use DoubleRules.newBuilder() to construct. private DoubleRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DoubleRules() { in_ = emptyDoubleList(); notIn_ = emptyDoubleList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DoubleRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DoubleRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 9: { bitField0_ |= 0x00000001; const_ = input.readDouble(); break; } case 17: { bitField0_ |= 0x00000002; lt_ = input.readDouble(); break; } case 25: { bitField0_ |= 0x00000004; lte_ = input.readDouble(); break; } case 33: { bitField0_ |= 0x00000008; gt_ = input.readDouble(); break; } case 41: { bitField0_ |= 0x00000010; gte_ = input.readDouble(); break; } case 49: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newDoubleList(); mutable_bitField0_ |= 0x00000020; } in_.addDouble(input.readDouble()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newDoubleList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addDouble(input.readDouble()); } input.popLimit(limit); break; } case 57: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newDoubleList(); mutable_bitField0_ |= 0x00000040; } notIn_.addDouble(input.readDouble()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newDoubleList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addDouble(input.readDouble()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_DoubleRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_DoubleRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.DoubleRules.class, com.lyft.pgv.validate.Validate.DoubleRules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private double const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional double const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional double const = 1; */ public double getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private double lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional double lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional double lt = 2; */ public double getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private double lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional double lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional double lte = 3; */ public double getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private double gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional double gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional double gt = 4; */ public double getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private double gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional double gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional double gte = 5; */ public double getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.DoubleList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated double in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated double in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated double in = 6; */ public double getIn(int index) { return in_.getDouble(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.DoubleList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated double not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated double not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated double not_in = 7; */ public double getNotIn(int index) { return notIn_.getDouble(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeDouble(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeDouble(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeDouble(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeDouble(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeDouble(6, in_.getDouble(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeDouble(7, notIn_.getDouble(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, gte_); } { int dataSize = 0; dataSize = 8 * getInList().size(); size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; dataSize = 8 * getNotInList().size(); size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.DoubleRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.DoubleRules other = (com.lyft.pgv.validate.Validate.DoubleRules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (java.lang.Double.doubleToLongBits(getConst()) != java.lang.Double.doubleToLongBits( other.getConst())) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (java.lang.Double.doubleToLongBits(getLt()) != java.lang.Double.doubleToLongBits( other.getLt())) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (java.lang.Double.doubleToLongBits(getLte()) != java.lang.Double.doubleToLongBits( other.getLte())) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (java.lang.Double.doubleToLongBits(getGt()) != java.lang.Double.doubleToLongBits( other.getGt())) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (java.lang.Double.doubleToLongBits(getGte()) != java.lang.Double.doubleToLongBits( other.getGte())) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getConst())); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLt())); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLte())); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getGt())); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getGte())); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.DoubleRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.DoubleRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.DoubleRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.DoubleRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.DoubleRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.DoubleRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.DoubleRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.DoubleRules 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.lyft.pgv.validate.Validate.DoubleRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.DoubleRules 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.lyft.pgv.validate.Validate.DoubleRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.DoubleRules 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.lyft.pgv.validate.Validate.DoubleRules 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; } /** *
     * DoubleRules describes the constraints applied to `double` values
     * 
* * Protobuf type {@code validate.DoubleRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.DoubleRules) com.lyft.pgv.validate.Validate.DoubleRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_DoubleRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_DoubleRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.DoubleRules.class, com.lyft.pgv.validate.Validate.DoubleRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.DoubleRules.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(); const_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_DoubleRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.DoubleRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.DoubleRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.DoubleRules build() { com.lyft.pgv.validate.Validate.DoubleRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.DoubleRules buildPartial() { com.lyft.pgv.validate.Validate.DoubleRules result = new com.lyft.pgv.validate.Validate.DoubleRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.DoubleRules) { return mergeFrom((com.lyft.pgv.validate.Validate.DoubleRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.DoubleRules other) { if (other == com.lyft.pgv.validate.Validate.DoubleRules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.DoubleRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.DoubleRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional double const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional double const = 1; */ public double getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional double const = 1; */ public Builder setConst(double value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional double const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0D; onChanged(); return this; } private double lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional double lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional double lt = 2; */ public double getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional double lt = 2; */ public Builder setLt(double value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional double lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0D; onChanged(); return this; } private double lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional double lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional double lte = 3; */ public double getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional double lte = 3; */ public Builder setLte(double value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional double lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0D; onChanged(); return this; } private double gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional double gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional double gt = 4; */ public double getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional double gt = 4; */ public Builder setGt(double value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional double gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0D; onChanged(); return this; } private double gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional double gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional double gte = 5; */ public double getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional double gte = 5; */ public Builder setGte(double value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional double gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0D; onChanged(); return this; } private com.google.protobuf.Internal.DoubleList in_ = emptyDoubleList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated double in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated double in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated double in = 6; */ public double getIn(int index) { return in_.getDouble(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated double in = 6; */ public Builder setIn( int index, double value) { ensureInIsMutable(); in_.setDouble(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated double in = 6; */ public Builder addIn(double value) { ensureInIsMutable(); in_.addDouble(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated double in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated double in = 6; */ public Builder clearIn() { in_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.DoubleList notIn_ = emptyDoubleList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated double not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated double not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated double not_in = 7; */ public double getNotIn(int index) { return notIn_.getDouble(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated double not_in = 7; */ public Builder setNotIn( int index, double value) { ensureNotInIsMutable(); notIn_.setDouble(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated double not_in = 7; */ public Builder addNotIn(double value) { ensureNotInIsMutable(); notIn_.addDouble(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated double not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated double not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.DoubleRules) } // @@protoc_insertion_point(class_scope:validate.DoubleRules) private static final com.lyft.pgv.validate.Validate.DoubleRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.DoubleRules(); } public static com.lyft.pgv.validate.Validate.DoubleRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DoubleRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DoubleRules(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.lyft.pgv.validate.Validate.DoubleRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface Int32RulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.Int32Rules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int32 const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int32 const = 1; */ int getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional int32 lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional int32 lt = 2; */ int getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional int32 lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional int32 lte = 3; */ int getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional int32 gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional int32 gt = 4; */ int getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional int32 gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional int32 gte = 5; */ int getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 6; */ int getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 7; */ int getNotIn(int index); } /** *
   * Int32Rules describes the constraints applied to `int32` values
   * 
* * Protobuf type {@code validate.Int32Rules} */ public static final class Int32Rules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.Int32Rules) Int32RulesOrBuilder { private static final long serialVersionUID = 0L; // Use Int32Rules.newBuilder() to construct. private Int32Rules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Int32Rules() { in_ = emptyIntList(); notIn_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Int32Rules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Int32Rules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; const_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; lt_ = input.readInt32(); break; } case 24: { bitField0_ |= 0x00000004; lte_ = input.readInt32(); break; } case 32: { bitField0_ |= 0x00000008; gt_ = input.readInt32(); break; } case 40: { bitField0_ |= 0x00000010; gte_ = input.readInt32(); break; } case 48: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newIntList(); mutable_bitField0_ |= 0x00000020; } in_.addInt(input.readInt32()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newIntList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addInt(input.readInt32()); } input.popLimit(limit); break; } case 56: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000040; } notIn_.addInt(input.readInt32()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addInt(input.readInt32()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_Int32Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_Int32Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.Int32Rules.class, com.lyft.pgv.validate.Validate.Int32Rules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private int const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int32 const = 1; */ public int getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private int lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional int32 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional int32 lt = 2; */ public int getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private int lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional int32 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional int32 lte = 3; */ public int getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private int gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional int32 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional int32 gt = 4; */ public int getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private int gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional int32 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional int32 gte = 5; */ public int getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 6; */ public int getIn(int index) { return in_.getInt(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.IntList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 7; */ public int getNotIn(int index) { return notIn_.getInt(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeInt32(6, in_.getInt(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeInt32(7, notIn_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, gte_); } { int dataSize = 0; for (int i = 0; i < in_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(in_.getInt(i)); } size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; for (int i = 0; i < notIn_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(notIn_.getInt(i)); } size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.Int32Rules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.Int32Rules other = (com.lyft.pgv.validate.Validate.Int32Rules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (getLt() != other.getLt()) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (getLte() != other.getLte()) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (getGt() != other.getGt()) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (getGte() != other.getGte()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + getConst(); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + getLt(); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + getLte(); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + getGt(); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + getGte(); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.Int32Rules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Int32Rules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Int32Rules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Int32Rules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Int32Rules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Int32Rules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Int32Rules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Int32Rules 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.lyft.pgv.validate.Validate.Int32Rules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Int32Rules 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.lyft.pgv.validate.Validate.Int32Rules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Int32Rules 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.lyft.pgv.validate.Validate.Int32Rules 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; } /** *
     * Int32Rules describes the constraints applied to `int32` values
     * 
* * Protobuf type {@code validate.Int32Rules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.Int32Rules) com.lyft.pgv.validate.Validate.Int32RulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_Int32Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_Int32Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.Int32Rules.class, com.lyft.pgv.validate.Validate.Int32Rules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.Int32Rules.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(); const_ = 0; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_Int32Rules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.Int32Rules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.Int32Rules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.Int32Rules build() { com.lyft.pgv.validate.Validate.Int32Rules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.Int32Rules buildPartial() { com.lyft.pgv.validate.Validate.Int32Rules result = new com.lyft.pgv.validate.Validate.Int32Rules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.Int32Rules) { return mergeFrom((com.lyft.pgv.validate.Validate.Int32Rules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.Int32Rules other) { if (other == com.lyft.pgv.validate.Validate.Int32Rules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.Int32Rules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.Int32Rules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int32 const = 1; */ public int getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int32 const = 1; */ public Builder setConst(int value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int32 const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0; onChanged(); return this; } private int lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional int32 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional int32 lt = 2; */ public int getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional int32 lt = 2; */ public Builder setLt(int value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional int32 lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0; onChanged(); return this; } private int lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional int32 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional int32 lte = 3; */ public int getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional int32 lte = 3; */ public Builder setLte(int value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional int32 lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0; onChanged(); return this; } private int gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional int32 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional int32 gt = 4; */ public int getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional int32 gt = 4; */ public Builder setGt(int value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional int32 gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0; onChanged(); return this; } private int gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional int32 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional int32 gte = 5; */ public int getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional int32 gte = 5; */ public Builder setGte(int value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional int32 gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList in_ = emptyIntList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 6; */ public int getIn(int index) { return in_.getInt(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 6; */ public Builder setIn( int index, int value) { ensureInIsMutable(); in_.setInt(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 6; */ public Builder addIn(int value) { ensureInIsMutable(); in_.addInt(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 6; */ public Builder clearIn() { in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.IntList notIn_ = emptyIntList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 7; */ public int getNotIn(int index) { return notIn_.getInt(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 7; */ public Builder setNotIn( int index, int value) { ensureNotInIsMutable(); notIn_.setInt(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 7; */ public Builder addNotIn(int value) { ensureNotInIsMutable(); notIn_.addInt(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.Int32Rules) } // @@protoc_insertion_point(class_scope:validate.Int32Rules) private static final com.lyft.pgv.validate.Validate.Int32Rules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.Int32Rules(); } public static com.lyft.pgv.validate.Validate.Int32Rules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Int32Rules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Int32Rules(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.lyft.pgv.validate.Validate.Int32Rules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface Int64RulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.Int64Rules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int64 const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int64 const = 1; */ long getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional int64 lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional int64 lt = 2; */ long getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional int64 lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional int64 lte = 3; */ long getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional int64 gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional int64 gt = 4; */ long getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional int64 gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional int64 gte = 5; */ long getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int64 in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int64 in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int64 in = 6; */ long getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int64 not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int64 not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int64 not_in = 7; */ long getNotIn(int index); } /** *
   * Int64Rules describes the constraints applied to `int64` values
   * 
* * Protobuf type {@code validate.Int64Rules} */ public static final class Int64Rules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.Int64Rules) Int64RulesOrBuilder { private static final long serialVersionUID = 0L; // Use Int64Rules.newBuilder() to construct. private Int64Rules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Int64Rules() { in_ = emptyLongList(); notIn_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Int64Rules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Int64Rules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; const_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; lt_ = input.readInt64(); break; } case 24: { bitField0_ |= 0x00000004; lte_ = input.readInt64(); break; } case 32: { bitField0_ |= 0x00000008; gt_ = input.readInt64(); break; } case 40: { bitField0_ |= 0x00000010; gte_ = input.readInt64(); break; } case 48: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newLongList(); mutable_bitField0_ |= 0x00000020; } in_.addLong(input.readInt64()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newLongList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 56: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newLongList(); mutable_bitField0_ |= 0x00000040; } notIn_.addLong(input.readInt64()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newLongList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addLong(input.readInt64()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_Int64Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_Int64Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.Int64Rules.class, com.lyft.pgv.validate.Validate.Int64Rules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private long const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int64 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int64 const = 1; */ public long getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private long lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional int64 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional int64 lt = 2; */ public long getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private long lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional int64 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional int64 lte = 3; */ public long getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private long gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional int64 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional int64 gt = 4; */ public long getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private long gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional int64 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional int64 gte = 5; */ public long getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.LongList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int64 in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int64 in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int64 in = 6; */ public long getIn(int index) { return in_.getLong(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.LongList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int64 not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int64 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int64 not_in = 7; */ public long getNotIn(int index) { return notIn_.getLong(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt64(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeInt64(6, in_.getLong(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeInt64(7, notIn_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, gte_); } { int dataSize = 0; for (int i = 0; i < in_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(in_.getLong(i)); } size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; for (int i = 0; i < notIn_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(notIn_.getLong(i)); } size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.Int64Rules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.Int64Rules other = (com.lyft.pgv.validate.Validate.Int64Rules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (getLt() != other.getLt()) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (getLte() != other.getLte()) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (getGt() != other.getGt()) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (getGte() != other.getGte()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getConst()); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLt()); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLte()); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGt()); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGte()); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.Int64Rules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Int64Rules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Int64Rules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Int64Rules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Int64Rules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Int64Rules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Int64Rules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Int64Rules 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.lyft.pgv.validate.Validate.Int64Rules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Int64Rules 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.lyft.pgv.validate.Validate.Int64Rules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Int64Rules 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.lyft.pgv.validate.Validate.Int64Rules 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; } /** *
     * Int64Rules describes the constraints applied to `int64` values
     * 
* * Protobuf type {@code validate.Int64Rules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.Int64Rules) com.lyft.pgv.validate.Validate.Int64RulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_Int64Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_Int64Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.Int64Rules.class, com.lyft.pgv.validate.Validate.Int64Rules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.Int64Rules.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(); const_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_Int64Rules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.Int64Rules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.Int64Rules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.Int64Rules build() { com.lyft.pgv.validate.Validate.Int64Rules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.Int64Rules buildPartial() { com.lyft.pgv.validate.Validate.Int64Rules result = new com.lyft.pgv.validate.Validate.Int64Rules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.Int64Rules) { return mergeFrom((com.lyft.pgv.validate.Validate.Int64Rules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.Int64Rules other) { if (other == com.lyft.pgv.validate.Validate.Int64Rules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.Int64Rules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.Int64Rules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int64 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int64 const = 1; */ public long getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int64 const = 1; */ public Builder setConst(long value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int64 const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0L; onChanged(); return this; } private long lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional int64 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional int64 lt = 2; */ public long getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional int64 lt = 2; */ public Builder setLt(long value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional int64 lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0L; onChanged(); return this; } private long lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional int64 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional int64 lte = 3; */ public long getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional int64 lte = 3; */ public Builder setLte(long value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional int64 lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0L; onChanged(); return this; } private long gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional int64 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional int64 gt = 4; */ public long getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional int64 gt = 4; */ public Builder setGt(long value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional int64 gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0L; onChanged(); return this; } private long gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional int64 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional int64 gte = 5; */ public long getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional int64 gte = 5; */ public Builder setGte(long value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional int64 gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.LongList in_ = emptyLongList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int64 in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int64 in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int64 in = 6; */ public long getIn(int index) { return in_.getLong(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int64 in = 6; */ public Builder setIn( int index, long value) { ensureInIsMutable(); in_.setLong(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int64 in = 6; */ public Builder addIn(long value) { ensureInIsMutable(); in_.addLong(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int64 in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int64 in = 6; */ public Builder clearIn() { in_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.LongList notIn_ = emptyLongList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int64 not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int64 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int64 not_in = 7; */ public long getNotIn(int index) { return notIn_.getLong(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int64 not_in = 7; */ public Builder setNotIn( int index, long value) { ensureNotInIsMutable(); notIn_.setLong(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int64 not_in = 7; */ public Builder addNotIn(long value) { ensureNotInIsMutable(); notIn_.addLong(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int64 not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int64 not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.Int64Rules) } // @@protoc_insertion_point(class_scope:validate.Int64Rules) private static final com.lyft.pgv.validate.Validate.Int64Rules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.Int64Rules(); } public static com.lyft.pgv.validate.Validate.Int64Rules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Int64Rules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Int64Rules(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.lyft.pgv.validate.Validate.Int64Rules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UInt32RulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.UInt32Rules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional uint32 const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional uint32 const = 1; */ int getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional uint32 lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional uint32 lt = 2; */ int getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional uint32 lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional uint32 lte = 3; */ int getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional uint32 gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional uint32 gt = 4; */ int getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional uint32 gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional uint32 gte = 5; */ int getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint32 in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint32 in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint32 in = 6; */ int getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint32 not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint32 not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint32 not_in = 7; */ int getNotIn(int index); } /** *
   * UInt32Rules describes the constraints applied to `uint32` values
   * 
* * Protobuf type {@code validate.UInt32Rules} */ public static final class UInt32Rules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.UInt32Rules) UInt32RulesOrBuilder { private static final long serialVersionUID = 0L; // Use UInt32Rules.newBuilder() to construct. private UInt32Rules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UInt32Rules() { in_ = emptyIntList(); notIn_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UInt32Rules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UInt32Rules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; const_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; lt_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; lte_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; gt_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000010; gte_ = input.readUInt32(); break; } case 48: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newIntList(); mutable_bitField0_ |= 0x00000020; } in_.addInt(input.readUInt32()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newIntList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 56: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000040; } notIn_.addInt(input.readUInt32()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addInt(input.readUInt32()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_UInt32Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_UInt32Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.UInt32Rules.class, com.lyft.pgv.validate.Validate.UInt32Rules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private int const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional uint32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional uint32 const = 1; */ public int getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private int lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional uint32 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional uint32 lt = 2; */ public int getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private int lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional uint32 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional uint32 lte = 3; */ public int getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private int gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional uint32 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional uint32 gt = 4; */ public int getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private int gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional uint32 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional uint32 gte = 5; */ public int getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint32 in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint32 in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint32 in = 6; */ public int getIn(int index) { return in_.getInt(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.IntList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint32 not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint32 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint32 not_in = 7; */ public int getNotIn(int index) { return notIn_.getInt(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeUInt32(6, in_.getInt(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeUInt32(7, notIn_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, gte_); } { int dataSize = 0; for (int i = 0; i < in_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(in_.getInt(i)); } size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; for (int i = 0; i < notIn_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(notIn_.getInt(i)); } size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.UInt32Rules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.UInt32Rules other = (com.lyft.pgv.validate.Validate.UInt32Rules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (getLt() != other.getLt()) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (getLte() != other.getLte()) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (getGt() != other.getGt()) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (getGte() != other.getGte()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + getConst(); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + getLt(); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + getLte(); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + getGt(); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + getGte(); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.UInt32Rules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.UInt32Rules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.UInt32Rules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.UInt32Rules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.UInt32Rules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.UInt32Rules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.UInt32Rules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.UInt32Rules 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.lyft.pgv.validate.Validate.UInt32Rules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.UInt32Rules 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.lyft.pgv.validate.Validate.UInt32Rules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.UInt32Rules 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.lyft.pgv.validate.Validate.UInt32Rules 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; } /** *
     * UInt32Rules describes the constraints applied to `uint32` values
     * 
* * Protobuf type {@code validate.UInt32Rules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.UInt32Rules) com.lyft.pgv.validate.Validate.UInt32RulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_UInt32Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_UInt32Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.UInt32Rules.class, com.lyft.pgv.validate.Validate.UInt32Rules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.UInt32Rules.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(); const_ = 0; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_UInt32Rules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.UInt32Rules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.UInt32Rules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.UInt32Rules build() { com.lyft.pgv.validate.Validate.UInt32Rules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.UInt32Rules buildPartial() { com.lyft.pgv.validate.Validate.UInt32Rules result = new com.lyft.pgv.validate.Validate.UInt32Rules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.UInt32Rules) { return mergeFrom((com.lyft.pgv.validate.Validate.UInt32Rules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.UInt32Rules other) { if (other == com.lyft.pgv.validate.Validate.UInt32Rules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.UInt32Rules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.UInt32Rules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional uint32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional uint32 const = 1; */ public int getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional uint32 const = 1; */ public Builder setConst(int value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional uint32 const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0; onChanged(); return this; } private int lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional uint32 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional uint32 lt = 2; */ public int getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional uint32 lt = 2; */ public Builder setLt(int value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional uint32 lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0; onChanged(); return this; } private int lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional uint32 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional uint32 lte = 3; */ public int getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional uint32 lte = 3; */ public Builder setLte(int value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional uint32 lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0; onChanged(); return this; } private int gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional uint32 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional uint32 gt = 4; */ public int getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional uint32 gt = 4; */ public Builder setGt(int value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional uint32 gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0; onChanged(); return this; } private int gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional uint32 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional uint32 gte = 5; */ public int getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional uint32 gte = 5; */ public Builder setGte(int value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional uint32 gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList in_ = emptyIntList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint32 in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint32 in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint32 in = 6; */ public int getIn(int index) { return in_.getInt(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint32 in = 6; */ public Builder setIn( int index, int value) { ensureInIsMutable(); in_.setInt(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint32 in = 6; */ public Builder addIn(int value) { ensureInIsMutable(); in_.addInt(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint32 in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint32 in = 6; */ public Builder clearIn() { in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.IntList notIn_ = emptyIntList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint32 not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint32 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint32 not_in = 7; */ public int getNotIn(int index) { return notIn_.getInt(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint32 not_in = 7; */ public Builder setNotIn( int index, int value) { ensureNotInIsMutable(); notIn_.setInt(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint32 not_in = 7; */ public Builder addNotIn(int value) { ensureNotInIsMutable(); notIn_.addInt(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint32 not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint32 not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.UInt32Rules) } // @@protoc_insertion_point(class_scope:validate.UInt32Rules) private static final com.lyft.pgv.validate.Validate.UInt32Rules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.UInt32Rules(); } public static com.lyft.pgv.validate.Validate.UInt32Rules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UInt32Rules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UInt32Rules(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.lyft.pgv.validate.Validate.UInt32Rules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UInt64RulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.UInt64Rules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional uint64 const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional uint64 const = 1; */ long getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional uint64 lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional uint64 lt = 2; */ long getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional uint64 lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional uint64 lte = 3; */ long getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional uint64 gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional uint64 gt = 4; */ long getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional uint64 gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional uint64 gte = 5; */ long getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint64 in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint64 in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint64 in = 6; */ long getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint64 not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint64 not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint64 not_in = 7; */ long getNotIn(int index); } /** *
   * UInt64Rules describes the constraints applied to `uint64` values
   * 
* * Protobuf type {@code validate.UInt64Rules} */ public static final class UInt64Rules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.UInt64Rules) UInt64RulesOrBuilder { private static final long serialVersionUID = 0L; // Use UInt64Rules.newBuilder() to construct. private UInt64Rules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UInt64Rules() { in_ = emptyLongList(); notIn_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UInt64Rules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UInt64Rules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; const_ = input.readUInt64(); break; } case 16: { bitField0_ |= 0x00000002; lt_ = input.readUInt64(); break; } case 24: { bitField0_ |= 0x00000004; lte_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; gt_ = input.readUInt64(); break; } case 40: { bitField0_ |= 0x00000010; gte_ = input.readUInt64(); break; } case 48: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newLongList(); mutable_bitField0_ |= 0x00000020; } in_.addLong(input.readUInt64()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newLongList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addLong(input.readUInt64()); } input.popLimit(limit); break; } case 56: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newLongList(); mutable_bitField0_ |= 0x00000040; } notIn_.addLong(input.readUInt64()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newLongList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addLong(input.readUInt64()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_UInt64Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_UInt64Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.UInt64Rules.class, com.lyft.pgv.validate.Validate.UInt64Rules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private long const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional uint64 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional uint64 const = 1; */ public long getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private long lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional uint64 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional uint64 lt = 2; */ public long getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private long lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional uint64 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional uint64 lte = 3; */ public long getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private long gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional uint64 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional uint64 gt = 4; */ public long getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private long gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional uint64 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional uint64 gte = 5; */ public long getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.LongList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint64 in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint64 in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated uint64 in = 6; */ public long getIn(int index) { return in_.getLong(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.LongList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint64 not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint64 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated uint64 not_in = 7; */ public long getNotIn(int index) { return notIn_.getLong(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeUInt64(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt64(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt64(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt64(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt64(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeUInt64(6, in_.getLong(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeUInt64(7, notIn_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, gte_); } { int dataSize = 0; for (int i = 0; i < in_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(in_.getLong(i)); } size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; for (int i = 0; i < notIn_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(notIn_.getLong(i)); } size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.UInt64Rules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.UInt64Rules other = (com.lyft.pgv.validate.Validate.UInt64Rules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (getLt() != other.getLt()) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (getLte() != other.getLte()) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (getGt() != other.getGt()) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (getGte() != other.getGte()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getConst()); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLt()); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLte()); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGt()); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGte()); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.UInt64Rules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.UInt64Rules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.UInt64Rules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.UInt64Rules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.UInt64Rules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.UInt64Rules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.UInt64Rules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.UInt64Rules 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.lyft.pgv.validate.Validate.UInt64Rules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.UInt64Rules 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.lyft.pgv.validate.Validate.UInt64Rules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.UInt64Rules 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.lyft.pgv.validate.Validate.UInt64Rules 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; } /** *
     * UInt64Rules describes the constraints applied to `uint64` values
     * 
* * Protobuf type {@code validate.UInt64Rules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.UInt64Rules) com.lyft.pgv.validate.Validate.UInt64RulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_UInt64Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_UInt64Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.UInt64Rules.class, com.lyft.pgv.validate.Validate.UInt64Rules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.UInt64Rules.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(); const_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_UInt64Rules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.UInt64Rules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.UInt64Rules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.UInt64Rules build() { com.lyft.pgv.validate.Validate.UInt64Rules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.UInt64Rules buildPartial() { com.lyft.pgv.validate.Validate.UInt64Rules result = new com.lyft.pgv.validate.Validate.UInt64Rules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.UInt64Rules) { return mergeFrom((com.lyft.pgv.validate.Validate.UInt64Rules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.UInt64Rules other) { if (other == com.lyft.pgv.validate.Validate.UInt64Rules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.UInt64Rules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.UInt64Rules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional uint64 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional uint64 const = 1; */ public long getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional uint64 const = 1; */ public Builder setConst(long value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional uint64 const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0L; onChanged(); return this; } private long lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional uint64 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional uint64 lt = 2; */ public long getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional uint64 lt = 2; */ public Builder setLt(long value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional uint64 lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0L; onChanged(); return this; } private long lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional uint64 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional uint64 lte = 3; */ public long getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional uint64 lte = 3; */ public Builder setLte(long value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional uint64 lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0L; onChanged(); return this; } private long gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional uint64 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional uint64 gt = 4; */ public long getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional uint64 gt = 4; */ public Builder setGt(long value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional uint64 gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0L; onChanged(); return this; } private long gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional uint64 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional uint64 gte = 5; */ public long getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional uint64 gte = 5; */ public Builder setGte(long value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional uint64 gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.LongList in_ = emptyLongList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint64 in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint64 in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint64 in = 6; */ public long getIn(int index) { return in_.getLong(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint64 in = 6; */ public Builder setIn( int index, long value) { ensureInIsMutable(); in_.setLong(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint64 in = 6; */ public Builder addIn(long value) { ensureInIsMutable(); in_.addLong(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint64 in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated uint64 in = 6; */ public Builder clearIn() { in_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.LongList notIn_ = emptyLongList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint64 not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint64 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint64 not_in = 7; */ public long getNotIn(int index) { return notIn_.getLong(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint64 not_in = 7; */ public Builder setNotIn( int index, long value) { ensureNotInIsMutable(); notIn_.setLong(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint64 not_in = 7; */ public Builder addNotIn(long value) { ensureNotInIsMutable(); notIn_.addLong(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint64 not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated uint64 not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.UInt64Rules) } // @@protoc_insertion_point(class_scope:validate.UInt64Rules) private static final com.lyft.pgv.validate.Validate.UInt64Rules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.UInt64Rules(); } public static com.lyft.pgv.validate.Validate.UInt64Rules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UInt64Rules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UInt64Rules(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.lyft.pgv.validate.Validate.UInt64Rules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SInt32RulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.SInt32Rules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sint32 const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sint32 const = 1; */ int getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sint32 lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sint32 lt = 2; */ int getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sint32 lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sint32 lte = 3; */ int getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sint32 gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sint32 gt = 4; */ int getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sint32 gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sint32 gte = 5; */ int getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint32 in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint32 in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint32 in = 6; */ int getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint32 not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint32 not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint32 not_in = 7; */ int getNotIn(int index); } /** *
   * SInt32Rules describes the constraints applied to `sint32` values
   * 
* * Protobuf type {@code validate.SInt32Rules} */ public static final class SInt32Rules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.SInt32Rules) SInt32RulesOrBuilder { private static final long serialVersionUID = 0L; // Use SInt32Rules.newBuilder() to construct. private SInt32Rules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SInt32Rules() { in_ = emptyIntList(); notIn_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SInt32Rules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SInt32Rules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; const_ = input.readSInt32(); break; } case 16: { bitField0_ |= 0x00000002; lt_ = input.readSInt32(); break; } case 24: { bitField0_ |= 0x00000004; lte_ = input.readSInt32(); break; } case 32: { bitField0_ |= 0x00000008; gt_ = input.readSInt32(); break; } case 40: { bitField0_ |= 0x00000010; gte_ = input.readSInt32(); break; } case 48: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newIntList(); mutable_bitField0_ |= 0x00000020; } in_.addInt(input.readSInt32()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newIntList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addInt(input.readSInt32()); } input.popLimit(limit); break; } case 56: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000040; } notIn_.addInt(input.readSInt32()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addInt(input.readSInt32()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_SInt32Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_SInt32Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.SInt32Rules.class, com.lyft.pgv.validate.Validate.SInt32Rules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private int const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sint32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sint32 const = 1; */ public int getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private int lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sint32 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sint32 lt = 2; */ public int getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private int lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sint32 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sint32 lte = 3; */ public int getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private int gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sint32 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sint32 gt = 4; */ public int getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private int gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sint32 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sint32 gte = 5; */ public int getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint32 in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint32 in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint32 in = 6; */ public int getIn(int index) { return in_.getInt(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.IntList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint32 not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint32 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint32 not_in = 7; */ public int getNotIn(int index) { return notIn_.getInt(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeSInt32(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeSInt32(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeSInt32(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeSInt32(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeSInt32(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeSInt32(6, in_.getInt(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeSInt32(7, notIn_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(5, gte_); } { int dataSize = 0; for (int i = 0; i < in_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeSInt32SizeNoTag(in_.getInt(i)); } size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; for (int i = 0; i < notIn_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeSInt32SizeNoTag(notIn_.getInt(i)); } size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.SInt32Rules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.SInt32Rules other = (com.lyft.pgv.validate.Validate.SInt32Rules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (getLt() != other.getLt()) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (getLte() != other.getLte()) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (getGt() != other.getGt()) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (getGte() != other.getGte()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + getConst(); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + getLt(); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + getLte(); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + getGt(); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + getGte(); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.SInt32Rules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SInt32Rules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SInt32Rules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SInt32Rules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SInt32Rules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SInt32Rules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SInt32Rules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SInt32Rules 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.lyft.pgv.validate.Validate.SInt32Rules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SInt32Rules 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.lyft.pgv.validate.Validate.SInt32Rules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SInt32Rules 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.lyft.pgv.validate.Validate.SInt32Rules 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; } /** *
     * SInt32Rules describes the constraints applied to `sint32` values
     * 
* * Protobuf type {@code validate.SInt32Rules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.SInt32Rules) com.lyft.pgv.validate.Validate.SInt32RulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_SInt32Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_SInt32Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.SInt32Rules.class, com.lyft.pgv.validate.Validate.SInt32Rules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.SInt32Rules.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(); const_ = 0; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_SInt32Rules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.SInt32Rules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.SInt32Rules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.SInt32Rules build() { com.lyft.pgv.validate.Validate.SInt32Rules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.SInt32Rules buildPartial() { com.lyft.pgv.validate.Validate.SInt32Rules result = new com.lyft.pgv.validate.Validate.SInt32Rules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.SInt32Rules) { return mergeFrom((com.lyft.pgv.validate.Validate.SInt32Rules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.SInt32Rules other) { if (other == com.lyft.pgv.validate.Validate.SInt32Rules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.SInt32Rules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.SInt32Rules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sint32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sint32 const = 1; */ public int getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sint32 const = 1; */ public Builder setConst(int value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sint32 const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0; onChanged(); return this; } private int lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sint32 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sint32 lt = 2; */ public int getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sint32 lt = 2; */ public Builder setLt(int value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sint32 lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0; onChanged(); return this; } private int lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sint32 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sint32 lte = 3; */ public int getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sint32 lte = 3; */ public Builder setLte(int value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sint32 lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0; onChanged(); return this; } private int gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sint32 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sint32 gt = 4; */ public int getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sint32 gt = 4; */ public Builder setGt(int value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sint32 gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0; onChanged(); return this; } private int gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sint32 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sint32 gte = 5; */ public int getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sint32 gte = 5; */ public Builder setGte(int value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sint32 gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList in_ = emptyIntList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint32 in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint32 in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint32 in = 6; */ public int getIn(int index) { return in_.getInt(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint32 in = 6; */ public Builder setIn( int index, int value) { ensureInIsMutable(); in_.setInt(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint32 in = 6; */ public Builder addIn(int value) { ensureInIsMutable(); in_.addInt(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint32 in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint32 in = 6; */ public Builder clearIn() { in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.IntList notIn_ = emptyIntList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint32 not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint32 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint32 not_in = 7; */ public int getNotIn(int index) { return notIn_.getInt(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint32 not_in = 7; */ public Builder setNotIn( int index, int value) { ensureNotInIsMutable(); notIn_.setInt(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint32 not_in = 7; */ public Builder addNotIn(int value) { ensureNotInIsMutable(); notIn_.addInt(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint32 not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint32 not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.SInt32Rules) } // @@protoc_insertion_point(class_scope:validate.SInt32Rules) private static final com.lyft.pgv.validate.Validate.SInt32Rules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.SInt32Rules(); } public static com.lyft.pgv.validate.Validate.SInt32Rules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SInt32Rules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SInt32Rules(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.lyft.pgv.validate.Validate.SInt32Rules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SInt64RulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.SInt64Rules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sint64 const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sint64 const = 1; */ long getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sint64 lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sint64 lt = 2; */ long getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sint64 lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sint64 lte = 3; */ long getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sint64 gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sint64 gt = 4; */ long getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sint64 gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sint64 gte = 5; */ long getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint64 in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint64 in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint64 in = 6; */ long getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint64 not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint64 not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint64 not_in = 7; */ long getNotIn(int index); } /** *
   * SInt64Rules describes the constraints applied to `sint64` values
   * 
* * Protobuf type {@code validate.SInt64Rules} */ public static final class SInt64Rules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.SInt64Rules) SInt64RulesOrBuilder { private static final long serialVersionUID = 0L; // Use SInt64Rules.newBuilder() to construct. private SInt64Rules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SInt64Rules() { in_ = emptyLongList(); notIn_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SInt64Rules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SInt64Rules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; const_ = input.readSInt64(); break; } case 16: { bitField0_ |= 0x00000002; lt_ = input.readSInt64(); break; } case 24: { bitField0_ |= 0x00000004; lte_ = input.readSInt64(); break; } case 32: { bitField0_ |= 0x00000008; gt_ = input.readSInt64(); break; } case 40: { bitField0_ |= 0x00000010; gte_ = input.readSInt64(); break; } case 48: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newLongList(); mutable_bitField0_ |= 0x00000020; } in_.addLong(input.readSInt64()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newLongList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addLong(input.readSInt64()); } input.popLimit(limit); break; } case 56: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newLongList(); mutable_bitField0_ |= 0x00000040; } notIn_.addLong(input.readSInt64()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newLongList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addLong(input.readSInt64()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_SInt64Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_SInt64Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.SInt64Rules.class, com.lyft.pgv.validate.Validate.SInt64Rules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private long const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sint64 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sint64 const = 1; */ public long getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private long lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sint64 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sint64 lt = 2; */ public long getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private long lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sint64 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sint64 lte = 3; */ public long getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private long gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sint64 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sint64 gt = 4; */ public long getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private long gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sint64 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sint64 gte = 5; */ public long getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.LongList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint64 in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint64 in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sint64 in = 6; */ public long getIn(int index) { return in_.getLong(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.LongList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint64 not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint64 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sint64 not_in = 7; */ public long getNotIn(int index) { return notIn_.getLong(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeSInt64(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeSInt64(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeSInt64(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeSInt64(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeSInt64(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeSInt64(6, in_.getLong(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeSInt64(7, notIn_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(5, gte_); } { int dataSize = 0; for (int i = 0; i < in_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeSInt64SizeNoTag(in_.getLong(i)); } size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; for (int i = 0; i < notIn_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeSInt64SizeNoTag(notIn_.getLong(i)); } size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.SInt64Rules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.SInt64Rules other = (com.lyft.pgv.validate.Validate.SInt64Rules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (getLt() != other.getLt()) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (getLte() != other.getLte()) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (getGt() != other.getGt()) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (getGte() != other.getGte()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getConst()); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLt()); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLte()); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGt()); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGte()); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.SInt64Rules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SInt64Rules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SInt64Rules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SInt64Rules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SInt64Rules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SInt64Rules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SInt64Rules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SInt64Rules 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.lyft.pgv.validate.Validate.SInt64Rules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SInt64Rules 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.lyft.pgv.validate.Validate.SInt64Rules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SInt64Rules 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.lyft.pgv.validate.Validate.SInt64Rules 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; } /** *
     * SInt64Rules describes the constraints applied to `sint64` values
     * 
* * Protobuf type {@code validate.SInt64Rules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.SInt64Rules) com.lyft.pgv.validate.Validate.SInt64RulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_SInt64Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_SInt64Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.SInt64Rules.class, com.lyft.pgv.validate.Validate.SInt64Rules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.SInt64Rules.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(); const_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_SInt64Rules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.SInt64Rules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.SInt64Rules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.SInt64Rules build() { com.lyft.pgv.validate.Validate.SInt64Rules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.SInt64Rules buildPartial() { com.lyft.pgv.validate.Validate.SInt64Rules result = new com.lyft.pgv.validate.Validate.SInt64Rules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.SInt64Rules) { return mergeFrom((com.lyft.pgv.validate.Validate.SInt64Rules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.SInt64Rules other) { if (other == com.lyft.pgv.validate.Validate.SInt64Rules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.SInt64Rules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.SInt64Rules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sint64 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sint64 const = 1; */ public long getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sint64 const = 1; */ public Builder setConst(long value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sint64 const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0L; onChanged(); return this; } private long lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sint64 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sint64 lt = 2; */ public long getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sint64 lt = 2; */ public Builder setLt(long value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sint64 lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0L; onChanged(); return this; } private long lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sint64 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sint64 lte = 3; */ public long getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sint64 lte = 3; */ public Builder setLte(long value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sint64 lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0L; onChanged(); return this; } private long gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sint64 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sint64 gt = 4; */ public long getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sint64 gt = 4; */ public Builder setGt(long value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sint64 gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0L; onChanged(); return this; } private long gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sint64 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sint64 gte = 5; */ public long getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sint64 gte = 5; */ public Builder setGte(long value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sint64 gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.LongList in_ = emptyLongList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint64 in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint64 in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint64 in = 6; */ public long getIn(int index) { return in_.getLong(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint64 in = 6; */ public Builder setIn( int index, long value) { ensureInIsMutable(); in_.setLong(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint64 in = 6; */ public Builder addIn(long value) { ensureInIsMutable(); in_.addLong(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint64 in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sint64 in = 6; */ public Builder clearIn() { in_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.LongList notIn_ = emptyLongList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint64 not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint64 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint64 not_in = 7; */ public long getNotIn(int index) { return notIn_.getLong(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint64 not_in = 7; */ public Builder setNotIn( int index, long value) { ensureNotInIsMutable(); notIn_.setLong(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint64 not_in = 7; */ public Builder addNotIn(long value) { ensureNotInIsMutable(); notIn_.addLong(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint64 not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sint64 not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.SInt64Rules) } // @@protoc_insertion_point(class_scope:validate.SInt64Rules) private static final com.lyft.pgv.validate.Validate.SInt64Rules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.SInt64Rules(); } public static com.lyft.pgv.validate.Validate.SInt64Rules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SInt64Rules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SInt64Rules(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.lyft.pgv.validate.Validate.SInt64Rules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface Fixed32RulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.Fixed32Rules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional fixed32 const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional fixed32 const = 1; */ int getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional fixed32 lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional fixed32 lt = 2; */ int getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional fixed32 lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional fixed32 lte = 3; */ int getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional fixed32 gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional fixed32 gt = 4; */ int getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional fixed32 gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional fixed32 gte = 5; */ int getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed32 in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed32 in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed32 in = 6; */ int getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed32 not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed32 not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed32 not_in = 7; */ int getNotIn(int index); } /** *
   * Fixed32Rules describes the constraints applied to `fixed32` values
   * 
* * Protobuf type {@code validate.Fixed32Rules} */ public static final class Fixed32Rules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.Fixed32Rules) Fixed32RulesOrBuilder { private static final long serialVersionUID = 0L; // Use Fixed32Rules.newBuilder() to construct. private Fixed32Rules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Fixed32Rules() { in_ = emptyIntList(); notIn_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Fixed32Rules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Fixed32Rules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 13: { bitField0_ |= 0x00000001; const_ = input.readFixed32(); break; } case 21: { bitField0_ |= 0x00000002; lt_ = input.readFixed32(); break; } case 29: { bitField0_ |= 0x00000004; lte_ = input.readFixed32(); break; } case 37: { bitField0_ |= 0x00000008; gt_ = input.readFixed32(); break; } case 45: { bitField0_ |= 0x00000010; gte_ = input.readFixed32(); break; } case 53: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newIntList(); mutable_bitField0_ |= 0x00000020; } in_.addInt(input.readFixed32()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newIntList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addInt(input.readFixed32()); } input.popLimit(limit); break; } case 61: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000040; } notIn_.addInt(input.readFixed32()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addInt(input.readFixed32()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_Fixed32Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_Fixed32Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.Fixed32Rules.class, com.lyft.pgv.validate.Validate.Fixed32Rules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private int const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional fixed32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional fixed32 const = 1; */ public int getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private int lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional fixed32 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional fixed32 lt = 2; */ public int getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private int lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional fixed32 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional fixed32 lte = 3; */ public int getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private int gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional fixed32 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional fixed32 gt = 4; */ public int getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private int gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional fixed32 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional fixed32 gte = 5; */ public int getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed32 in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed32 in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed32 in = 6; */ public int getIn(int index) { return in_.getInt(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.IntList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed32 not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed32 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed32 not_in = 7; */ public int getNotIn(int index) { return notIn_.getInt(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeFixed32(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeFixed32(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeFixed32(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeFixed32(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeFixed32(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeFixed32(6, in_.getInt(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeFixed32(7, notIn_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFixed32Size(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFixed32Size(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFixed32Size(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFixed32Size(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFixed32Size(5, gte_); } { int dataSize = 0; dataSize = 4 * getInList().size(); size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; dataSize = 4 * getNotInList().size(); size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.Fixed32Rules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.Fixed32Rules other = (com.lyft.pgv.validate.Validate.Fixed32Rules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (getLt() != other.getLt()) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (getLte() != other.getLte()) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (getGt() != other.getGt()) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (getGte() != other.getGte()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + getConst(); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + getLt(); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + getLte(); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + getGt(); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + getGte(); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.Fixed32Rules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Fixed32Rules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Fixed32Rules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Fixed32Rules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Fixed32Rules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Fixed32Rules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Fixed32Rules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Fixed32Rules 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.lyft.pgv.validate.Validate.Fixed32Rules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Fixed32Rules 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.lyft.pgv.validate.Validate.Fixed32Rules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Fixed32Rules 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.lyft.pgv.validate.Validate.Fixed32Rules 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; } /** *
     * Fixed32Rules describes the constraints applied to `fixed32` values
     * 
* * Protobuf type {@code validate.Fixed32Rules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.Fixed32Rules) com.lyft.pgv.validate.Validate.Fixed32RulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_Fixed32Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_Fixed32Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.Fixed32Rules.class, com.lyft.pgv.validate.Validate.Fixed32Rules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.Fixed32Rules.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(); const_ = 0; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_Fixed32Rules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.Fixed32Rules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.Fixed32Rules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.Fixed32Rules build() { com.lyft.pgv.validate.Validate.Fixed32Rules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.Fixed32Rules buildPartial() { com.lyft.pgv.validate.Validate.Fixed32Rules result = new com.lyft.pgv.validate.Validate.Fixed32Rules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.Fixed32Rules) { return mergeFrom((com.lyft.pgv.validate.Validate.Fixed32Rules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.Fixed32Rules other) { if (other == com.lyft.pgv.validate.Validate.Fixed32Rules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.Fixed32Rules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.Fixed32Rules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional fixed32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional fixed32 const = 1; */ public int getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional fixed32 const = 1; */ public Builder setConst(int value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional fixed32 const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0; onChanged(); return this; } private int lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional fixed32 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional fixed32 lt = 2; */ public int getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional fixed32 lt = 2; */ public Builder setLt(int value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional fixed32 lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0; onChanged(); return this; } private int lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional fixed32 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional fixed32 lte = 3; */ public int getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional fixed32 lte = 3; */ public Builder setLte(int value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional fixed32 lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0; onChanged(); return this; } private int gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional fixed32 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional fixed32 gt = 4; */ public int getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional fixed32 gt = 4; */ public Builder setGt(int value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional fixed32 gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0; onChanged(); return this; } private int gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional fixed32 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional fixed32 gte = 5; */ public int getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional fixed32 gte = 5; */ public Builder setGte(int value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional fixed32 gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList in_ = emptyIntList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed32 in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed32 in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed32 in = 6; */ public int getIn(int index) { return in_.getInt(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed32 in = 6; */ public Builder setIn( int index, int value) { ensureInIsMutable(); in_.setInt(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed32 in = 6; */ public Builder addIn(int value) { ensureInIsMutable(); in_.addInt(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed32 in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed32 in = 6; */ public Builder clearIn() { in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.IntList notIn_ = emptyIntList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed32 not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed32 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed32 not_in = 7; */ public int getNotIn(int index) { return notIn_.getInt(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed32 not_in = 7; */ public Builder setNotIn( int index, int value) { ensureNotInIsMutable(); notIn_.setInt(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed32 not_in = 7; */ public Builder addNotIn(int value) { ensureNotInIsMutable(); notIn_.addInt(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed32 not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed32 not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.Fixed32Rules) } // @@protoc_insertion_point(class_scope:validate.Fixed32Rules) private static final com.lyft.pgv.validate.Validate.Fixed32Rules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.Fixed32Rules(); } public static com.lyft.pgv.validate.Validate.Fixed32Rules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Fixed32Rules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Fixed32Rules(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.lyft.pgv.validate.Validate.Fixed32Rules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface Fixed64RulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.Fixed64Rules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional fixed64 const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional fixed64 const = 1; */ long getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional fixed64 lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional fixed64 lt = 2; */ long getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional fixed64 lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional fixed64 lte = 3; */ long getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional fixed64 gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional fixed64 gt = 4; */ long getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional fixed64 gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional fixed64 gte = 5; */ long getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed64 in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed64 in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed64 in = 6; */ long getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed64 not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed64 not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed64 not_in = 7; */ long getNotIn(int index); } /** *
   * Fixed64Rules describes the constraints applied to `fixed64` values
   * 
* * Protobuf type {@code validate.Fixed64Rules} */ public static final class Fixed64Rules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.Fixed64Rules) Fixed64RulesOrBuilder { private static final long serialVersionUID = 0L; // Use Fixed64Rules.newBuilder() to construct. private Fixed64Rules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Fixed64Rules() { in_ = emptyLongList(); notIn_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Fixed64Rules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Fixed64Rules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 9: { bitField0_ |= 0x00000001; const_ = input.readFixed64(); break; } case 17: { bitField0_ |= 0x00000002; lt_ = input.readFixed64(); break; } case 25: { bitField0_ |= 0x00000004; lte_ = input.readFixed64(); break; } case 33: { bitField0_ |= 0x00000008; gt_ = input.readFixed64(); break; } case 41: { bitField0_ |= 0x00000010; gte_ = input.readFixed64(); break; } case 49: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newLongList(); mutable_bitField0_ |= 0x00000020; } in_.addLong(input.readFixed64()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newLongList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addLong(input.readFixed64()); } input.popLimit(limit); break; } case 57: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newLongList(); mutable_bitField0_ |= 0x00000040; } notIn_.addLong(input.readFixed64()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newLongList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addLong(input.readFixed64()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_Fixed64Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_Fixed64Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.Fixed64Rules.class, com.lyft.pgv.validate.Validate.Fixed64Rules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private long const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional fixed64 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional fixed64 const = 1; */ public long getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private long lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional fixed64 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional fixed64 lt = 2; */ public long getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private long lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional fixed64 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional fixed64 lte = 3; */ public long getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private long gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional fixed64 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional fixed64 gt = 4; */ public long getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private long gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional fixed64 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional fixed64 gte = 5; */ public long getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.LongList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed64 in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed64 in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated fixed64 in = 6; */ public long getIn(int index) { return in_.getLong(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.LongList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed64 not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed64 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated fixed64 not_in = 7; */ public long getNotIn(int index) { return notIn_.getLong(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeFixed64(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeFixed64(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeFixed64(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeFixed64(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeFixed64(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeFixed64(6, in_.getLong(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeFixed64(7, notIn_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFixed64Size(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFixed64Size(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFixed64Size(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFixed64Size(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeFixed64Size(5, gte_); } { int dataSize = 0; dataSize = 8 * getInList().size(); size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; dataSize = 8 * getNotInList().size(); size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.Fixed64Rules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.Fixed64Rules other = (com.lyft.pgv.validate.Validate.Fixed64Rules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (getLt() != other.getLt()) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (getLte() != other.getLte()) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (getGt() != other.getGt()) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (getGte() != other.getGte()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getConst()); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLt()); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLte()); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGt()); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGte()); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.Fixed64Rules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Fixed64Rules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Fixed64Rules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Fixed64Rules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Fixed64Rules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.Fixed64Rules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.Fixed64Rules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Fixed64Rules 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.lyft.pgv.validate.Validate.Fixed64Rules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Fixed64Rules 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.lyft.pgv.validate.Validate.Fixed64Rules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.Fixed64Rules 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.lyft.pgv.validate.Validate.Fixed64Rules 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; } /** *
     * Fixed64Rules describes the constraints applied to `fixed64` values
     * 
* * Protobuf type {@code validate.Fixed64Rules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.Fixed64Rules) com.lyft.pgv.validate.Validate.Fixed64RulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_Fixed64Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_Fixed64Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.Fixed64Rules.class, com.lyft.pgv.validate.Validate.Fixed64Rules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.Fixed64Rules.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(); const_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_Fixed64Rules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.Fixed64Rules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.Fixed64Rules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.Fixed64Rules build() { com.lyft.pgv.validate.Validate.Fixed64Rules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.Fixed64Rules buildPartial() { com.lyft.pgv.validate.Validate.Fixed64Rules result = new com.lyft.pgv.validate.Validate.Fixed64Rules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.Fixed64Rules) { return mergeFrom((com.lyft.pgv.validate.Validate.Fixed64Rules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.Fixed64Rules other) { if (other == com.lyft.pgv.validate.Validate.Fixed64Rules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.Fixed64Rules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.Fixed64Rules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional fixed64 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional fixed64 const = 1; */ public long getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional fixed64 const = 1; */ public Builder setConst(long value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional fixed64 const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0L; onChanged(); return this; } private long lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional fixed64 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional fixed64 lt = 2; */ public long getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional fixed64 lt = 2; */ public Builder setLt(long value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional fixed64 lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0L; onChanged(); return this; } private long lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional fixed64 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional fixed64 lte = 3; */ public long getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional fixed64 lte = 3; */ public Builder setLte(long value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional fixed64 lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0L; onChanged(); return this; } private long gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional fixed64 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional fixed64 gt = 4; */ public long getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional fixed64 gt = 4; */ public Builder setGt(long value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional fixed64 gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0L; onChanged(); return this; } private long gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional fixed64 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional fixed64 gte = 5; */ public long getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional fixed64 gte = 5; */ public Builder setGte(long value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional fixed64 gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.LongList in_ = emptyLongList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed64 in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed64 in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed64 in = 6; */ public long getIn(int index) { return in_.getLong(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed64 in = 6; */ public Builder setIn( int index, long value) { ensureInIsMutable(); in_.setLong(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed64 in = 6; */ public Builder addIn(long value) { ensureInIsMutable(); in_.addLong(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed64 in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated fixed64 in = 6; */ public Builder clearIn() { in_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.LongList notIn_ = emptyLongList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed64 not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed64 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed64 not_in = 7; */ public long getNotIn(int index) { return notIn_.getLong(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed64 not_in = 7; */ public Builder setNotIn( int index, long value) { ensureNotInIsMutable(); notIn_.setLong(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed64 not_in = 7; */ public Builder addNotIn(long value) { ensureNotInIsMutable(); notIn_.addLong(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed64 not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated fixed64 not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.Fixed64Rules) } // @@protoc_insertion_point(class_scope:validate.Fixed64Rules) private static final com.lyft.pgv.validate.Validate.Fixed64Rules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.Fixed64Rules(); } public static com.lyft.pgv.validate.Validate.Fixed64Rules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Fixed64Rules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Fixed64Rules(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.lyft.pgv.validate.Validate.Fixed64Rules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SFixed32RulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.SFixed32Rules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sfixed32 const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sfixed32 const = 1; */ int getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sfixed32 lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sfixed32 lt = 2; */ int getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sfixed32 lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sfixed32 lte = 3; */ int getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sfixed32 gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sfixed32 gt = 4; */ int getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sfixed32 gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sfixed32 gte = 5; */ int getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed32 in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed32 in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed32 in = 6; */ int getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed32 not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed32 not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed32 not_in = 7; */ int getNotIn(int index); } /** *
   * SFixed32Rules describes the constraints applied to `sfixed32` values
   * 
* * Protobuf type {@code validate.SFixed32Rules} */ public static final class SFixed32Rules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.SFixed32Rules) SFixed32RulesOrBuilder { private static final long serialVersionUID = 0L; // Use SFixed32Rules.newBuilder() to construct. private SFixed32Rules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SFixed32Rules() { in_ = emptyIntList(); notIn_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SFixed32Rules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SFixed32Rules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 13: { bitField0_ |= 0x00000001; const_ = input.readSFixed32(); break; } case 21: { bitField0_ |= 0x00000002; lt_ = input.readSFixed32(); break; } case 29: { bitField0_ |= 0x00000004; lte_ = input.readSFixed32(); break; } case 37: { bitField0_ |= 0x00000008; gt_ = input.readSFixed32(); break; } case 45: { bitField0_ |= 0x00000010; gte_ = input.readSFixed32(); break; } case 53: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newIntList(); mutable_bitField0_ |= 0x00000020; } in_.addInt(input.readSFixed32()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newIntList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addInt(input.readSFixed32()); } input.popLimit(limit); break; } case 61: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000040; } notIn_.addInt(input.readSFixed32()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addInt(input.readSFixed32()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_SFixed32Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_SFixed32Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.SFixed32Rules.class, com.lyft.pgv.validate.Validate.SFixed32Rules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private int const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sfixed32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sfixed32 const = 1; */ public int getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private int lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sfixed32 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sfixed32 lt = 2; */ public int getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private int lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sfixed32 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sfixed32 lte = 3; */ public int getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private int gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sfixed32 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sfixed32 gt = 4; */ public int getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private int gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sfixed32 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sfixed32 gte = 5; */ public int getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed32 in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed32 in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed32 in = 6; */ public int getIn(int index) { return in_.getInt(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.IntList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed32 not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed32 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed32 not_in = 7; */ public int getNotIn(int index) { return notIn_.getInt(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeSFixed32(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeSFixed32(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeSFixed32(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeSFixed32(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeSFixed32(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeSFixed32(6, in_.getInt(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeSFixed32(7, notIn_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSFixed32Size(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSFixed32Size(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSFixed32Size(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSFixed32Size(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSFixed32Size(5, gte_); } { int dataSize = 0; dataSize = 4 * getInList().size(); size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; dataSize = 4 * getNotInList().size(); size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.SFixed32Rules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.SFixed32Rules other = (com.lyft.pgv.validate.Validate.SFixed32Rules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (getLt() != other.getLt()) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (getLte() != other.getLte()) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (getGt() != other.getGt()) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (getGte() != other.getGte()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + getConst(); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + getLt(); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + getLte(); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + getGt(); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + getGte(); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.SFixed32Rules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SFixed32Rules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SFixed32Rules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SFixed32Rules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SFixed32Rules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SFixed32Rules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SFixed32Rules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SFixed32Rules 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.lyft.pgv.validate.Validate.SFixed32Rules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SFixed32Rules 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.lyft.pgv.validate.Validate.SFixed32Rules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SFixed32Rules 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.lyft.pgv.validate.Validate.SFixed32Rules 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; } /** *
     * SFixed32Rules describes the constraints applied to `sfixed32` values
     * 
* * Protobuf type {@code validate.SFixed32Rules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.SFixed32Rules) com.lyft.pgv.validate.Validate.SFixed32RulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_SFixed32Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_SFixed32Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.SFixed32Rules.class, com.lyft.pgv.validate.Validate.SFixed32Rules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.SFixed32Rules.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(); const_ = 0; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_SFixed32Rules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.SFixed32Rules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.SFixed32Rules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.SFixed32Rules build() { com.lyft.pgv.validate.Validate.SFixed32Rules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.SFixed32Rules buildPartial() { com.lyft.pgv.validate.Validate.SFixed32Rules result = new com.lyft.pgv.validate.Validate.SFixed32Rules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.SFixed32Rules) { return mergeFrom((com.lyft.pgv.validate.Validate.SFixed32Rules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.SFixed32Rules other) { if (other == com.lyft.pgv.validate.Validate.SFixed32Rules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.SFixed32Rules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.SFixed32Rules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sfixed32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sfixed32 const = 1; */ public int getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sfixed32 const = 1; */ public Builder setConst(int value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sfixed32 const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0; onChanged(); return this; } private int lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sfixed32 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sfixed32 lt = 2; */ public int getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sfixed32 lt = 2; */ public Builder setLt(int value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sfixed32 lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0; onChanged(); return this; } private int lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sfixed32 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sfixed32 lte = 3; */ public int getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sfixed32 lte = 3; */ public Builder setLte(int value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sfixed32 lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0; onChanged(); return this; } private int gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sfixed32 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sfixed32 gt = 4; */ public int getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sfixed32 gt = 4; */ public Builder setGt(int value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sfixed32 gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0; onChanged(); return this; } private int gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sfixed32 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sfixed32 gte = 5; */ public int getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sfixed32 gte = 5; */ public Builder setGte(int value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sfixed32 gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList in_ = emptyIntList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed32 in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed32 in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed32 in = 6; */ public int getIn(int index) { return in_.getInt(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed32 in = 6; */ public Builder setIn( int index, int value) { ensureInIsMutable(); in_.setInt(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed32 in = 6; */ public Builder addIn(int value) { ensureInIsMutable(); in_.addInt(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed32 in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed32 in = 6; */ public Builder clearIn() { in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.IntList notIn_ = emptyIntList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed32 not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed32 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed32 not_in = 7; */ public int getNotIn(int index) { return notIn_.getInt(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed32 not_in = 7; */ public Builder setNotIn( int index, int value) { ensureNotInIsMutable(); notIn_.setInt(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed32 not_in = 7; */ public Builder addNotIn(int value) { ensureNotInIsMutable(); notIn_.addInt(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed32 not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed32 not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.SFixed32Rules) } // @@protoc_insertion_point(class_scope:validate.SFixed32Rules) private static final com.lyft.pgv.validate.Validate.SFixed32Rules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.SFixed32Rules(); } public static com.lyft.pgv.validate.Validate.SFixed32Rules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SFixed32Rules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SFixed32Rules(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.lyft.pgv.validate.Validate.SFixed32Rules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SFixed64RulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.SFixed64Rules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sfixed64 const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sfixed64 const = 1; */ long getConst(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sfixed64 lt = 2; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sfixed64 lt = 2; */ long getLt(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sfixed64 lte = 3; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sfixed64 lte = 3; */ long getLte(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sfixed64 gt = 4; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sfixed64 gt = 4; */ long getGt(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sfixed64 gte = 5; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sfixed64 gte = 5; */ long getGte(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed64 in = 6; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed64 in = 6; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed64 in = 6; */ long getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed64 not_in = 7; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed64 not_in = 7; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed64 not_in = 7; */ long getNotIn(int index); } /** *
   * SFixed64Rules describes the constraints applied to `sfixed64` values
   * 
* * Protobuf type {@code validate.SFixed64Rules} */ public static final class SFixed64Rules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.SFixed64Rules) SFixed64RulesOrBuilder { private static final long serialVersionUID = 0L; // Use SFixed64Rules.newBuilder() to construct. private SFixed64Rules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SFixed64Rules() { in_ = emptyLongList(); notIn_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SFixed64Rules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SFixed64Rules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 9: { bitField0_ |= 0x00000001; const_ = input.readSFixed64(); break; } case 17: { bitField0_ |= 0x00000002; lt_ = input.readSFixed64(); break; } case 25: { bitField0_ |= 0x00000004; lte_ = input.readSFixed64(); break; } case 33: { bitField0_ |= 0x00000008; gt_ = input.readSFixed64(); break; } case 41: { bitField0_ |= 0x00000010; gte_ = input.readSFixed64(); break; } case 49: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { in_ = newLongList(); mutable_bitField0_ |= 0x00000020; } in_.addLong(input.readSFixed64()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) { in_ = newLongList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { in_.addLong(input.readSFixed64()); } input.popLimit(limit); break; } case 57: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { notIn_ = newLongList(); mutable_bitField0_ |= 0x00000040; } notIn_.addLong(input.readSFixed64()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newLongList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { notIn_.addLong(input.readSFixed64()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_SFixed64Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_SFixed64Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.SFixed64Rules.class, com.lyft.pgv.validate.Validate.SFixed64Rules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private long const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sfixed64 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional sfixed64 const = 1; */ public long getConst() { return const_; } public static final int LT_FIELD_NUMBER = 2; private long lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sfixed64 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional sfixed64 lt = 2; */ public long getLt() { return lt_; } public static final int LTE_FIELD_NUMBER = 3; private long lte_; /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sfixed64 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lte specifies that this field must be less than or equal to the
     * specified value, inclusive
     * 
* * optional sfixed64 lte = 3; */ public long getLte() { return lte_; } public static final int GT_FIELD_NUMBER = 4; private long gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sfixed64 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
     * range is reversed.
     * 
* * optional sfixed64 gt = 4; */ public long getGt() { return gt_; } public static final int GTE_FIELD_NUMBER = 5; private long gte_; /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sfixed64 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gte specifies that this field must be greater than or equal to the
     * specified value, inclusive. If the value of Gte is larger than a
     * specified Lt or Lte, the range is reversed.
     * 
* * optional sfixed64 gte = 5; */ public long getGte() { return gte_; } public static final int IN_FIELD_NUMBER = 6; private com.google.protobuf.Internal.LongList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed64 in = 6; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed64 in = 6; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated sfixed64 in = 6; */ public long getIn(int index) { return in_.getLong(index); } public static final int NOT_IN_FIELD_NUMBER = 7; private com.google.protobuf.Internal.LongList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed64 not_in = 7; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed64 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated sfixed64 not_in = 7; */ public long getNotIn(int index) { return notIn_.getLong(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeSFixed64(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeSFixed64(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeSFixed64(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeSFixed64(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeSFixed64(5, gte_); } for (int i = 0; i < in_.size(); i++) { output.writeSFixed64(6, in_.getLong(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeSFixed64(7, notIn_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSFixed64Size(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSFixed64Size(2, lt_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSFixed64Size(3, lte_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSFixed64Size(4, gt_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeSFixed64Size(5, gte_); } { int dataSize = 0; dataSize = 8 * getInList().size(); size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; dataSize = 8 * getNotInList().size(); size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.SFixed64Rules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.SFixed64Rules other = (com.lyft.pgv.validate.Validate.SFixed64Rules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (getLt() != other.getLt()) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (getLte() != other.getLte()) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (getGt() != other.getGt()) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (getGte() != other.getGte()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getConst()); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLt()); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLte()); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGt()); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGte()); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.SFixed64Rules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SFixed64Rules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SFixed64Rules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SFixed64Rules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SFixed64Rules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.SFixed64Rules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.SFixed64Rules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SFixed64Rules 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.lyft.pgv.validate.Validate.SFixed64Rules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SFixed64Rules 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.lyft.pgv.validate.Validate.SFixed64Rules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.SFixed64Rules 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.lyft.pgv.validate.Validate.SFixed64Rules 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; } /** *
     * SFixed64Rules describes the constraints applied to `sfixed64` values
     * 
* * Protobuf type {@code validate.SFixed64Rules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.SFixed64Rules) com.lyft.pgv.validate.Validate.SFixed64RulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_SFixed64Rules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_SFixed64Rules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.SFixed64Rules.class, com.lyft.pgv.validate.Validate.SFixed64Rules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.SFixed64Rules.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(); const_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); lt_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); lte_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); gt_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); gte_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); in_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000020); notIn_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_SFixed64Rules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.SFixed64Rules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.SFixed64Rules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.SFixed64Rules build() { com.lyft.pgv.validate.Validate.SFixed64Rules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.SFixed64Rules buildPartial() { com.lyft.pgv.validate.Validate.SFixed64Rules result = new com.lyft.pgv.validate.Validate.SFixed64Rules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.lt_ = lt_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lte_ = lte_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.gt_ = gt_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.gte_ = gte_; to_bitField0_ |= 0x00000010; } if (((bitField0_ & 0x00000020) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000020); } result.in_ = in_; if (((bitField0_ & 0x00000040) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.SFixed64Rules) { return mergeFrom((com.lyft.pgv.validate.Validate.SFixed64Rules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.SFixed64Rules other) { if (other == com.lyft.pgv.validate.Validate.SFixed64Rules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLt()) { setLt(other.getLt()); } if (other.hasLte()) { setLte(other.getLte()); } if (other.hasGt()) { setGt(other.getGt()); } if (other.hasGte()) { setGte(other.getGte()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.SFixed64Rules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.SFixed64Rules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sfixed64 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sfixed64 const = 1; */ public long getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sfixed64 const = 1; */ public Builder setConst(long value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional sfixed64 const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0L; onChanged(); return this; } private long lt_ ; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sfixed64 lt = 2; */ public boolean hasLt() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sfixed64 lt = 2; */ public long getLt() { return lt_; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sfixed64 lt = 2; */ public Builder setLt(long value) { bitField0_ |= 0x00000002; lt_ = value; onChanged(); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional sfixed64 lt = 2; */ public Builder clearLt() { bitField0_ = (bitField0_ & ~0x00000002); lt_ = 0L; onChanged(); return this; } private long lte_ ; /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sfixed64 lte = 3; */ public boolean hasLte() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sfixed64 lte = 3; */ public long getLte() { return lte_; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sfixed64 lte = 3; */ public Builder setLte(long value) { bitField0_ |= 0x00000004; lte_ = value; onChanged(); return this; } /** *
       * Lte specifies that this field must be less than or equal to the
       * specified value, inclusive
       * 
* * optional sfixed64 lte = 3; */ public Builder clearLte() { bitField0_ = (bitField0_ & ~0x00000004); lte_ = 0L; onChanged(); return this; } private long gt_ ; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sfixed64 gt = 4; */ public boolean hasGt() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sfixed64 gt = 4; */ public long getGt() { return gt_; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sfixed64 gt = 4; */ public Builder setGt(long value) { bitField0_ |= 0x00000008; gt_ = value; onChanged(); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
       * range is reversed.
       * 
* * optional sfixed64 gt = 4; */ public Builder clearGt() { bitField0_ = (bitField0_ & ~0x00000008); gt_ = 0L; onChanged(); return this; } private long gte_ ; /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sfixed64 gte = 5; */ public boolean hasGte() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sfixed64 gte = 5; */ public long getGte() { return gte_; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sfixed64 gte = 5; */ public Builder setGte(long value) { bitField0_ |= 0x00000010; gte_ = value; onChanged(); return this; } /** *
       * Gte specifies that this field must be greater than or equal to the
       * specified value, inclusive. If the value of Gte is larger than a
       * specified Lt or Lte, the range is reversed.
       * 
* * optional sfixed64 gte = 5; */ public Builder clearGte() { bitField0_ = (bitField0_ & ~0x00000010); gte_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.LongList in_ = emptyLongList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000020; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed64 in = 6; */ public java.util.List getInList() { return ((bitField0_ & 0x00000020) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed64 in = 6; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed64 in = 6; */ public long getIn(int index) { return in_.getLong(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed64 in = 6; */ public Builder setIn( int index, long value) { ensureInIsMutable(); in_.setLong(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed64 in = 6; */ public Builder addIn(long value) { ensureInIsMutable(); in_.addLong(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed64 in = 6; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated sfixed64 in = 6; */ public Builder clearIn() { in_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.LongList notIn_ = emptyLongList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000040; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed64 not_in = 7; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000040) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed64 not_in = 7; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed64 not_in = 7; */ public long getNotIn(int index) { return notIn_.getLong(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed64 not_in = 7; */ public Builder setNotIn( int index, long value) { ensureNotInIsMutable(); notIn_.setLong(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed64 not_in = 7; */ public Builder addNotIn(long value) { ensureNotInIsMutable(); notIn_.addLong(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed64 not_in = 7; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated sfixed64 not_in = 7; */ public Builder clearNotIn() { notIn_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @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:validate.SFixed64Rules) } // @@protoc_insertion_point(class_scope:validate.SFixed64Rules) private static final com.lyft.pgv.validate.Validate.SFixed64Rules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.SFixed64Rules(); } public static com.lyft.pgv.validate.Validate.SFixed64Rules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SFixed64Rules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SFixed64Rules(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.lyft.pgv.validate.Validate.SFixed64Rules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BoolRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.BoolRules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional bool const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional bool const = 1; */ boolean getConst(); } /** *
   * BoolRules describes the constraints applied to `bool` values
   * 
* * Protobuf type {@code validate.BoolRules} */ public static final class BoolRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.BoolRules) BoolRulesOrBuilder { private static final long serialVersionUID = 0L; // Use BoolRules.newBuilder() to construct. private BoolRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BoolRules() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BoolRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BoolRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; const_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.lyft.pgv.validate.Validate.internal_static_validate_BoolRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_BoolRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.BoolRules.class, com.lyft.pgv.validate.Validate.BoolRules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private boolean const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional bool const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional bool const = 1; */ public boolean getConst() { return const_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, const_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, const_); } 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.lyft.pgv.validate.Validate.BoolRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.BoolRules other = (com.lyft.pgv.validate.Validate.BoolRules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getConst()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.BoolRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.BoolRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.BoolRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.BoolRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.BoolRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.BoolRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.BoolRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.BoolRules 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.lyft.pgv.validate.Validate.BoolRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.BoolRules 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.lyft.pgv.validate.Validate.BoolRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.BoolRules 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.lyft.pgv.validate.Validate.BoolRules 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; } /** *
     * BoolRules describes the constraints applied to `bool` values
     * 
* * Protobuf type {@code validate.BoolRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.BoolRules) com.lyft.pgv.validate.Validate.BoolRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_BoolRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_BoolRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.BoolRules.class, com.lyft.pgv.validate.Validate.BoolRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.BoolRules.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(); const_ = false; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_BoolRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.BoolRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.BoolRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.BoolRules build() { com.lyft.pgv.validate.Validate.BoolRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.BoolRules buildPartial() { com.lyft.pgv.validate.Validate.BoolRules result = new com.lyft.pgv.validate.Validate.BoolRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.BoolRules) { return mergeFrom((com.lyft.pgv.validate.Validate.BoolRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.BoolRules other) { if (other == com.lyft.pgv.validate.Validate.BoolRules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } 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.lyft.pgv.validate.Validate.BoolRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.BoolRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional bool const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional bool const = 1; */ public boolean getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional bool const = 1; */ public Builder setConst(boolean value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional bool const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = false; onChanged(); return this; } @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:validate.BoolRules) } // @@protoc_insertion_point(class_scope:validate.BoolRules) private static final com.lyft.pgv.validate.Validate.BoolRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.BoolRules(); } public static com.lyft.pgv.validate.Validate.BoolRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BoolRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BoolRules(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.lyft.pgv.validate.Validate.BoolRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StringRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.StringRules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional string const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional string const = 1; */ java.lang.String getConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional string const = 1; */ com.google.protobuf.ByteString getConstBytes(); /** *
     * Len specifies that this field must be the specified number of
     * characters (Unicode code points). Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 len = 19; */ boolean hasLen(); /** *
     * Len specifies that this field must be the specified number of
     * characters (Unicode code points). Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 len = 19; */ long getLen(); /** *
     * MinLen specifies that this field must be the specified number of
     * characters (Unicode code points) at a minimum. Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 min_len = 2; */ boolean hasMinLen(); /** *
     * MinLen specifies that this field must be the specified number of
     * characters (Unicode code points) at a minimum. Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 min_len = 2; */ long getMinLen(); /** *
     * MaxLen specifies that this field must be the specified number of
     * characters (Unicode code points) at a maximum. Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 max_len = 3; */ boolean hasMaxLen(); /** *
     * MaxLen specifies that this field must be the specified number of
     * characters (Unicode code points) at a maximum. Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 max_len = 3; */ long getMaxLen(); /** *
     * LenBytes specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 len_bytes = 20; */ boolean hasLenBytes(); /** *
     * LenBytes specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 len_bytes = 20; */ long getLenBytes(); /** *
     * MinBytes specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 min_bytes = 4; */ boolean hasMinBytes(); /** *
     * MinBytes specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 min_bytes = 4; */ long getMinBytes(); /** *
     * MaxBytes specifies that this field must be the specified number of bytes
     * at a maximum
     * 
* * optional uint64 max_bytes = 5; */ boolean hasMaxBytes(); /** *
     * MaxBytes specifies that this field must be the specified number of bytes
     * at a maximum
     * 
* * optional uint64 max_bytes = 5; */ long getMaxBytes(); /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 6; */ boolean hasPattern(); /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 6; */ java.lang.String getPattern(); /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 6; */ com.google.protobuf.ByteString getPatternBytes(); /** *
     * Prefix specifies that this field must have the specified substring at
     * the beginning of the string.
     * 
* * optional string prefix = 7; */ boolean hasPrefix(); /** *
     * Prefix specifies that this field must have the specified substring at
     * the beginning of the string.
     * 
* * optional string prefix = 7; */ java.lang.String getPrefix(); /** *
     * Prefix specifies that this field must have the specified substring at
     * the beginning of the string.
     * 
* * optional string prefix = 7; */ com.google.protobuf.ByteString getPrefixBytes(); /** *
     * Suffix specifies that this field must have the specified substring at
     * the end of the string.
     * 
* * optional string suffix = 8; */ boolean hasSuffix(); /** *
     * Suffix specifies that this field must have the specified substring at
     * the end of the string.
     * 
* * optional string suffix = 8; */ java.lang.String getSuffix(); /** *
     * Suffix specifies that this field must have the specified substring at
     * the end of the string.
     * 
* * optional string suffix = 8; */ com.google.protobuf.ByteString getSuffixBytes(); /** *
     * Contains specifies that this field must have the specified substring
     * anywhere in the string.
     * 
* * optional string contains = 9; */ boolean hasContains(); /** *
     * Contains specifies that this field must have the specified substring
     * anywhere in the string.
     * 
* * optional string contains = 9; */ java.lang.String getContains(); /** *
     * Contains specifies that this field must have the specified substring
     * anywhere in the string.
     * 
* * optional string contains = 9; */ com.google.protobuf.ByteString getContainsBytes(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated string in = 10; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated string in = 10; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated string in = 10; */ java.lang.String getIn(int index); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated string in = 10; */ com.google.protobuf.ByteString getInBytes(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated string not_in = 11; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated string not_in = 11; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated string not_in = 11; */ java.lang.String getNotIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated string not_in = 11; */ com.google.protobuf.ByteString getNotInBytes(int index); /** *
     * Email specifies that the field must be a valid email address as
     * defined by RFC 5322
     * 
* * optional bool email = 12; */ boolean hasEmail(); /** *
     * Email specifies that the field must be a valid email address as
     * defined by RFC 5322
     * 
* * optional bool email = 12; */ boolean getEmail(); /** *
     * Hostname specifies that the field must be a valid hostname as
     * defined by RFC 1034. This constraint does not support
     * internationalized domain names (IDNs).
     * 
* * optional bool hostname = 13; */ boolean hasHostname(); /** *
     * Hostname specifies that the field must be a valid hostname as
     * defined by RFC 1034. This constraint does not support
     * internationalized domain names (IDNs).
     * 
* * optional bool hostname = 13; */ boolean getHostname(); /** *
     * Ip specifies that the field must be a valid IP (v4 or v6) address.
     * Valid IPv6 addresses should not include surrounding square brackets.
     * 
* * optional bool ip = 14; */ boolean hasIp(); /** *
     * Ip specifies that the field must be a valid IP (v4 or v6) address.
     * Valid IPv6 addresses should not include surrounding square brackets.
     * 
* * optional bool ip = 14; */ boolean getIp(); /** *
     * Ipv4 specifies that the field must be a valid IPv4 address.
     * 
* * optional bool ipv4 = 15; */ boolean hasIpv4(); /** *
     * Ipv4 specifies that the field must be a valid IPv4 address.
     * 
* * optional bool ipv4 = 15; */ boolean getIpv4(); /** *
     * Ipv6 specifies that the field must be a valid IPv6 address. Valid
     * IPv6 addresses should not include surrounding square brackets.
     * 
* * optional bool ipv6 = 16; */ boolean hasIpv6(); /** *
     * Ipv6 specifies that the field must be a valid IPv6 address. Valid
     * IPv6 addresses should not include surrounding square brackets.
     * 
* * optional bool ipv6 = 16; */ boolean getIpv6(); /** *
     * Uri specifies that the field must be a valid, absolute URI as defined
     * by RFC 3986
     * 
* * optional bool uri = 17; */ boolean hasUri(); /** *
     * Uri specifies that the field must be a valid, absolute URI as defined
     * by RFC 3986
     * 
* * optional bool uri = 17; */ boolean getUri(); /** *
     * UriRef specifies that the field must be a valid URI as defined by RFC
     * 3986 and may be relative or absolute.
     * 
* * optional bool uri_ref = 18; */ boolean hasUriRef(); /** *
     * UriRef specifies that the field must be a valid URI as defined by RFC
     * 3986 and may be relative or absolute.
     * 
* * optional bool uri_ref = 18; */ boolean getUriRef(); public com.lyft.pgv.validate.Validate.StringRules.WellKnownCase getWellKnownCase(); } /** *
   * StringRules describe the constraints applied to `string` values
   * 
* * Protobuf type {@code validate.StringRules} */ public static final class StringRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.StringRules) StringRulesOrBuilder { private static final long serialVersionUID = 0L; // Use StringRules.newBuilder() to construct. private StringRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringRules() { const_ = ""; pattern_ = ""; prefix_ = ""; suffix_ = ""; contains_ = ""; in_ = com.google.protobuf.LazyStringArrayList.EMPTY; notIn_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StringRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; const_ = bs; break; } case 16: { bitField0_ |= 0x00000004; minLen_ = input.readUInt64(); break; } case 24: { bitField0_ |= 0x00000008; maxLen_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000020; minBytes_ = input.readUInt64(); break; } case 40: { bitField0_ |= 0x00000040; maxBytes_ = input.readUInt64(); break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; pattern_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000100; prefix_ = bs; break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000200; suffix_ = bs; break; } case 74: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000400; contains_ = bs; break; } case 82: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000800) != 0)) { in_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000800; } in_.add(bs); break; } case 90: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00001000) != 0)) { notIn_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00001000; } notIn_.add(bs); break; } case 96: { wellKnownCase_ = 12; wellKnown_ = input.readBool(); break; } case 104: { wellKnownCase_ = 13; wellKnown_ = input.readBool(); break; } case 112: { wellKnownCase_ = 14; wellKnown_ = input.readBool(); break; } case 120: { wellKnownCase_ = 15; wellKnown_ = input.readBool(); break; } case 128: { wellKnownCase_ = 16; wellKnown_ = input.readBool(); break; } case 136: { wellKnownCase_ = 17; wellKnown_ = input.readBool(); break; } case 144: { wellKnownCase_ = 18; wellKnown_ = input.readBool(); break; } case 152: { bitField0_ |= 0x00000002; len_ = input.readUInt64(); break; } case 160: { bitField0_ |= 0x00000010; lenBytes_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000800) != 0)) { in_ = in_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00001000) != 0)) { notIn_ = notIn_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_StringRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_StringRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.StringRules.class, com.lyft.pgv.validate.Validate.StringRules.Builder.class); } private int bitField0_; private int wellKnownCase_ = 0; private java.lang.Object wellKnown_; public enum WellKnownCase implements com.google.protobuf.Internal.EnumLite { EMAIL(12), HOSTNAME(13), IP(14), IPV4(15), IPV6(16), URI(17), URI_REF(18), WELLKNOWN_NOT_SET(0); private final int value; private WellKnownCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static WellKnownCase valueOf(int value) { return forNumber(value); } public static WellKnownCase forNumber(int value) { switch (value) { case 12: return EMAIL; case 13: return HOSTNAME; case 14: return IP; case 15: return IPV4; case 16: return IPV6; case 17: return URI; case 18: return URI_REF; case 0: return WELLKNOWN_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public WellKnownCase getWellKnownCase() { return WellKnownCase.forNumber( wellKnownCase_); } public static final int CONST_FIELD_NUMBER = 1; private volatile java.lang.Object const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional string const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional string const = 1; */ public java.lang.String getConst() { java.lang.Object ref = const_; 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(); if (bs.isValidUtf8()) { const_ = s; } return s; } } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional string const = 1; */ public com.google.protobuf.ByteString getConstBytes() { java.lang.Object ref = const_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); const_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LEN_FIELD_NUMBER = 19; private long len_; /** *
     * Len specifies that this field must be the specified number of
     * characters (Unicode code points). Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 len = 19; */ public boolean hasLen() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Len specifies that this field must be the specified number of
     * characters (Unicode code points). Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 len = 19; */ public long getLen() { return len_; } public static final int MIN_LEN_FIELD_NUMBER = 2; private long minLen_; /** *
     * MinLen specifies that this field must be the specified number of
     * characters (Unicode code points) at a minimum. Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 min_len = 2; */ public boolean hasMinLen() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * MinLen specifies that this field must be the specified number of
     * characters (Unicode code points) at a minimum. Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 min_len = 2; */ public long getMinLen() { return minLen_; } public static final int MAX_LEN_FIELD_NUMBER = 3; private long maxLen_; /** *
     * MaxLen specifies that this field must be the specified number of
     * characters (Unicode code points) at a maximum. Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 max_len = 3; */ public boolean hasMaxLen() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * MaxLen specifies that this field must be the specified number of
     * characters (Unicode code points) at a maximum. Note that the number of
     * characters may differ from the number of bytes in the string.
     * 
* * optional uint64 max_len = 3; */ public long getMaxLen() { return maxLen_; } public static final int LEN_BYTES_FIELD_NUMBER = 20; private long lenBytes_; /** *
     * LenBytes specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 len_bytes = 20; */ public boolean hasLenBytes() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * LenBytes specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 len_bytes = 20; */ public long getLenBytes() { return lenBytes_; } public static final int MIN_BYTES_FIELD_NUMBER = 4; private long minBytes_; /** *
     * MinBytes specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 min_bytes = 4; */ public boolean hasMinBytes() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * MinBytes specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 min_bytes = 4; */ public long getMinBytes() { return minBytes_; } public static final int MAX_BYTES_FIELD_NUMBER = 5; private long maxBytes_; /** *
     * MaxBytes specifies that this field must be the specified number of bytes
     * at a maximum
     * 
* * optional uint64 max_bytes = 5; */ public boolean hasMaxBytes() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * MaxBytes specifies that this field must be the specified number of bytes
     * at a maximum
     * 
* * optional uint64 max_bytes = 5; */ public long getMaxBytes() { return maxBytes_; } public static final int PATTERN_FIELD_NUMBER = 6; private volatile java.lang.Object pattern_; /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 6; */ public boolean hasPattern() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 6; */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; 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(); if (bs.isValidUtf8()) { pattern_ = s; } return s; } } /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 6; */ public com.google.protobuf.ByteString getPatternBytes() { java.lang.Object ref = pattern_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pattern_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PREFIX_FIELD_NUMBER = 7; private volatile java.lang.Object prefix_; /** *
     * Prefix specifies that this field must have the specified substring at
     * the beginning of the string.
     * 
* * optional string prefix = 7; */ public boolean hasPrefix() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * Prefix specifies that this field must have the specified substring at
     * the beginning of the string.
     * 
* * optional string prefix = 7; */ public java.lang.String getPrefix() { java.lang.Object ref = prefix_; 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(); if (bs.isValidUtf8()) { prefix_ = s; } return s; } } /** *
     * Prefix specifies that this field must have the specified substring at
     * the beginning of the string.
     * 
* * optional string prefix = 7; */ public com.google.protobuf.ByteString getPrefixBytes() { java.lang.Object ref = prefix_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); prefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SUFFIX_FIELD_NUMBER = 8; private volatile java.lang.Object suffix_; /** *
     * Suffix specifies that this field must have the specified substring at
     * the end of the string.
     * 
* * optional string suffix = 8; */ public boolean hasSuffix() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * Suffix specifies that this field must have the specified substring at
     * the end of the string.
     * 
* * optional string suffix = 8; */ public java.lang.String getSuffix() { java.lang.Object ref = suffix_; 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(); if (bs.isValidUtf8()) { suffix_ = s; } return s; } } /** *
     * Suffix specifies that this field must have the specified substring at
     * the end of the string.
     * 
* * optional string suffix = 8; */ public com.google.protobuf.ByteString getSuffixBytes() { java.lang.Object ref = suffix_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); suffix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTAINS_FIELD_NUMBER = 9; private volatile java.lang.Object contains_; /** *
     * Contains specifies that this field must have the specified substring
     * anywhere in the string.
     * 
* * optional string contains = 9; */ public boolean hasContains() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * Contains specifies that this field must have the specified substring
     * anywhere in the string.
     * 
* * optional string contains = 9; */ public java.lang.String getContains() { java.lang.Object ref = contains_; 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(); if (bs.isValidUtf8()) { contains_ = s; } return s; } } /** *
     * Contains specifies that this field must have the specified substring
     * anywhere in the string.
     * 
* * optional string contains = 9; */ public com.google.protobuf.ByteString getContainsBytes() { java.lang.Object ref = contains_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contains_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IN_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated string in = 10; */ public com.google.protobuf.ProtocolStringList getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated string in = 10; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated string in = 10; */ public java.lang.String getIn(int index) { return in_.get(index); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated string in = 10; */ public com.google.protobuf.ByteString getInBytes(int index) { return in_.getByteString(index); } public static final int NOT_IN_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated string not_in = 11; */ public com.google.protobuf.ProtocolStringList getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated string not_in = 11; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated string not_in = 11; */ public java.lang.String getNotIn(int index) { return notIn_.get(index); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated string not_in = 11; */ public com.google.protobuf.ByteString getNotInBytes(int index) { return notIn_.getByteString(index); } public static final int EMAIL_FIELD_NUMBER = 12; /** *
     * Email specifies that the field must be a valid email address as
     * defined by RFC 5322
     * 
* * optional bool email = 12; */ public boolean hasEmail() { return wellKnownCase_ == 12; } /** *
     * Email specifies that the field must be a valid email address as
     * defined by RFC 5322
     * 
* * optional bool email = 12; */ public boolean getEmail() { if (wellKnownCase_ == 12) { return (java.lang.Boolean) wellKnown_; } return false; } public static final int HOSTNAME_FIELD_NUMBER = 13; /** *
     * Hostname specifies that the field must be a valid hostname as
     * defined by RFC 1034. This constraint does not support
     * internationalized domain names (IDNs).
     * 
* * optional bool hostname = 13; */ public boolean hasHostname() { return wellKnownCase_ == 13; } /** *
     * Hostname specifies that the field must be a valid hostname as
     * defined by RFC 1034. This constraint does not support
     * internationalized domain names (IDNs).
     * 
* * optional bool hostname = 13; */ public boolean getHostname() { if (wellKnownCase_ == 13) { return (java.lang.Boolean) wellKnown_; } return false; } public static final int IP_FIELD_NUMBER = 14; /** *
     * Ip specifies that the field must be a valid IP (v4 or v6) address.
     * Valid IPv6 addresses should not include surrounding square brackets.
     * 
* * optional bool ip = 14; */ public boolean hasIp() { return wellKnownCase_ == 14; } /** *
     * Ip specifies that the field must be a valid IP (v4 or v6) address.
     * Valid IPv6 addresses should not include surrounding square brackets.
     * 
* * optional bool ip = 14; */ public boolean getIp() { if (wellKnownCase_ == 14) { return (java.lang.Boolean) wellKnown_; } return false; } public static final int IPV4_FIELD_NUMBER = 15; /** *
     * Ipv4 specifies that the field must be a valid IPv4 address.
     * 
* * optional bool ipv4 = 15; */ public boolean hasIpv4() { return wellKnownCase_ == 15; } /** *
     * Ipv4 specifies that the field must be a valid IPv4 address.
     * 
* * optional bool ipv4 = 15; */ public boolean getIpv4() { if (wellKnownCase_ == 15) { return (java.lang.Boolean) wellKnown_; } return false; } public static final int IPV6_FIELD_NUMBER = 16; /** *
     * Ipv6 specifies that the field must be a valid IPv6 address. Valid
     * IPv6 addresses should not include surrounding square brackets.
     * 
* * optional bool ipv6 = 16; */ public boolean hasIpv6() { return wellKnownCase_ == 16; } /** *
     * Ipv6 specifies that the field must be a valid IPv6 address. Valid
     * IPv6 addresses should not include surrounding square brackets.
     * 
* * optional bool ipv6 = 16; */ public boolean getIpv6() { if (wellKnownCase_ == 16) { return (java.lang.Boolean) wellKnown_; } return false; } public static final int URI_FIELD_NUMBER = 17; /** *
     * Uri specifies that the field must be a valid, absolute URI as defined
     * by RFC 3986
     * 
* * optional bool uri = 17; */ public boolean hasUri() { return wellKnownCase_ == 17; } /** *
     * Uri specifies that the field must be a valid, absolute URI as defined
     * by RFC 3986
     * 
* * optional bool uri = 17; */ public boolean getUri() { if (wellKnownCase_ == 17) { return (java.lang.Boolean) wellKnown_; } return false; } public static final int URI_REF_FIELD_NUMBER = 18; /** *
     * UriRef specifies that the field must be a valid URI as defined by RFC
     * 3986 and may be relative or absolute.
     * 
* * optional bool uri_ref = 18; */ public boolean hasUriRef() { return wellKnownCase_ == 18; } /** *
     * UriRef specifies that the field must be a valid URI as defined by RFC
     * 3986 and may be relative or absolute.
     * 
* * optional bool uri_ref = 18; */ public boolean getUriRef() { if (wellKnownCase_ == 18) { return (java.lang.Boolean) wellKnown_; } return false; } 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 (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, const_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt64(2, minLen_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt64(3, maxLen_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt64(4, minBytes_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt64(5, maxBytes_); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pattern_); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, prefix_); } if (((bitField0_ & 0x00000200) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, suffix_); } if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, contains_); } for (int i = 0; i < in_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, in_.getRaw(i)); } for (int i = 0; i < notIn_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, notIn_.getRaw(i)); } if (wellKnownCase_ == 12) { output.writeBool( 12, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 13) { output.writeBool( 13, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 14) { output.writeBool( 14, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 15) { output.writeBool( 15, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 16) { output.writeBool( 16, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 17) { output.writeBool( 17, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 18) { output.writeBool( 18, (boolean)((java.lang.Boolean) wellKnown_)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt64(19, len_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt64(20, lenBytes_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, const_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, minLen_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, maxLen_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, minBytes_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, maxBytes_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pattern_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, prefix_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, suffix_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, contains_); } { int dataSize = 0; for (int i = 0; i < in_.size(); i++) { dataSize += computeStringSizeNoTag(in_.getRaw(i)); } size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; for (int i = 0; i < notIn_.size(); i++) { dataSize += computeStringSizeNoTag(notIn_.getRaw(i)); } size += dataSize; size += 1 * getNotInList().size(); } if (wellKnownCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 12, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 13, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 14) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 14, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 15) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 15, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 16) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 16, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 17) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 17, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 18) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 18, (boolean)((java.lang.Boolean) wellKnown_)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(19, len_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(20, lenBytes_); } 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.lyft.pgv.validate.Validate.StringRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.StringRules other = (com.lyft.pgv.validate.Validate.StringRules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (!getConst() .equals(other.getConst())) return false; } if (hasLen() != other.hasLen()) return false; if (hasLen()) { if (getLen() != other.getLen()) return false; } if (hasMinLen() != other.hasMinLen()) return false; if (hasMinLen()) { if (getMinLen() != other.getMinLen()) return false; } if (hasMaxLen() != other.hasMaxLen()) return false; if (hasMaxLen()) { if (getMaxLen() != other.getMaxLen()) return false; } if (hasLenBytes() != other.hasLenBytes()) return false; if (hasLenBytes()) { if (getLenBytes() != other.getLenBytes()) return false; } if (hasMinBytes() != other.hasMinBytes()) return false; if (hasMinBytes()) { if (getMinBytes() != other.getMinBytes()) return false; } if (hasMaxBytes() != other.hasMaxBytes()) return false; if (hasMaxBytes()) { if (getMaxBytes() != other.getMaxBytes()) return false; } if (hasPattern() != other.hasPattern()) return false; if (hasPattern()) { if (!getPattern() .equals(other.getPattern())) return false; } if (hasPrefix() != other.hasPrefix()) return false; if (hasPrefix()) { if (!getPrefix() .equals(other.getPrefix())) return false; } if (hasSuffix() != other.hasSuffix()) return false; if (hasSuffix()) { if (!getSuffix() .equals(other.getSuffix())) return false; } if (hasContains() != other.hasContains()) return false; if (hasContains()) { if (!getContains() .equals(other.getContains())) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) return false; if (!getWellKnownCase().equals(other.getWellKnownCase())) return false; switch (wellKnownCase_) { case 12: if (getEmail() != other.getEmail()) return false; break; case 13: if (getHostname() != other.getHostname()) return false; break; case 14: if (getIp() != other.getIp()) return false; break; case 15: if (getIpv4() != other.getIpv4()) return false; break; case 16: if (getIpv6() != other.getIpv6()) return false; break; case 17: if (getUri() != other.getUri()) return false; break; case 18: if (getUriRef() != other.getUriRef()) return false; break; case 0: default: } 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + getConst().hashCode(); } if (hasLen()) { hash = (37 * hash) + LEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLen()); } if (hasMinLen()) { hash = (37 * hash) + MIN_LEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinLen()); } if (hasMaxLen()) { hash = (37 * hash) + MAX_LEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxLen()); } if (hasLenBytes()) { hash = (37 * hash) + LEN_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLenBytes()); } if (hasMinBytes()) { hash = (37 * hash) + MIN_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinBytes()); } if (hasMaxBytes()) { hash = (37 * hash) + MAX_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxBytes()); } if (hasPattern()) { hash = (37 * hash) + PATTERN_FIELD_NUMBER; hash = (53 * hash) + getPattern().hashCode(); } if (hasPrefix()) { hash = (37 * hash) + PREFIX_FIELD_NUMBER; hash = (53 * hash) + getPrefix().hashCode(); } if (hasSuffix()) { hash = (37 * hash) + SUFFIX_FIELD_NUMBER; hash = (53 * hash) + getSuffix().hashCode(); } if (hasContains()) { hash = (37 * hash) + CONTAINS_FIELD_NUMBER; hash = (53 * hash) + getContains().hashCode(); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } switch (wellKnownCase_) { case 12: hash = (37 * hash) + EMAIL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEmail()); break; case 13: hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHostname()); break; case 14: hash = (37 * hash) + IP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIp()); break; case 15: hash = (37 * hash) + IPV4_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIpv4()); break; case 16: hash = (37 * hash) + IPV6_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIpv6()); break; case 17: hash = (37 * hash) + URI_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUri()); break; case 18: hash = (37 * hash) + URI_REF_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUriRef()); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.StringRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.StringRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.StringRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.StringRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.StringRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.StringRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.StringRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.StringRules 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.lyft.pgv.validate.Validate.StringRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.StringRules 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.lyft.pgv.validate.Validate.StringRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.StringRules 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.lyft.pgv.validate.Validate.StringRules 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; } /** *
     * StringRules describe the constraints applied to `string` values
     * 
* * Protobuf type {@code validate.StringRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.StringRules) com.lyft.pgv.validate.Validate.StringRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_StringRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_StringRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.StringRules.class, com.lyft.pgv.validate.Validate.StringRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.StringRules.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(); const_ = ""; bitField0_ = (bitField0_ & ~0x00000001); len_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); minLen_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); maxLen_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); lenBytes_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); minBytes_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); maxBytes_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); pattern_ = ""; bitField0_ = (bitField0_ & ~0x00000080); prefix_ = ""; bitField0_ = (bitField0_ & ~0x00000100); suffix_ = ""; bitField0_ = (bitField0_ & ~0x00000200); contains_ = ""; bitField0_ = (bitField0_ & ~0x00000400); in_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000800); notIn_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00001000); wellKnownCase_ = 0; wellKnown_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_StringRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.StringRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.StringRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.StringRules build() { com.lyft.pgv.validate.Validate.StringRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.StringRules buildPartial() { com.lyft.pgv.validate.Validate.StringRules result = new com.lyft.pgv.validate.Validate.StringRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.const_ = const_; if (((from_bitField0_ & 0x00000002) != 0)) { result.len_ = len_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.minLen_ = minLen_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.maxLen_ = maxLen_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.lenBytes_ = lenBytes_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.minBytes_ = minBytes_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.maxBytes_ = maxBytes_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.pattern_ = pattern_; if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } result.prefix_ = prefix_; if (((from_bitField0_ & 0x00000200) != 0)) { to_bitField0_ |= 0x00000200; } result.suffix_ = suffix_; if (((from_bitField0_ & 0x00000400) != 0)) { to_bitField0_ |= 0x00000400; } result.contains_ = contains_; if (((bitField0_ & 0x00000800) != 0)) { in_ = in_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000800); } result.in_ = in_; if (((bitField0_ & 0x00001000) != 0)) { notIn_ = notIn_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00001000); } result.notIn_ = notIn_; if (wellKnownCase_ == 12) { result.wellKnown_ = wellKnown_; } if (wellKnownCase_ == 13) { result.wellKnown_ = wellKnown_; } if (wellKnownCase_ == 14) { result.wellKnown_ = wellKnown_; } if (wellKnownCase_ == 15) { result.wellKnown_ = wellKnown_; } if (wellKnownCase_ == 16) { result.wellKnown_ = wellKnown_; } if (wellKnownCase_ == 17) { result.wellKnown_ = wellKnown_; } if (wellKnownCase_ == 18) { result.wellKnown_ = wellKnown_; } result.bitField0_ = to_bitField0_; result.wellKnownCase_ = wellKnownCase_; 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.lyft.pgv.validate.Validate.StringRules) { return mergeFrom((com.lyft.pgv.validate.Validate.StringRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.StringRules other) { if (other == com.lyft.pgv.validate.Validate.StringRules.getDefaultInstance()) return this; if (other.hasConst()) { bitField0_ |= 0x00000001; const_ = other.const_; onChanged(); } if (other.hasLen()) { setLen(other.getLen()); } if (other.hasMinLen()) { setMinLen(other.getMinLen()); } if (other.hasMaxLen()) { setMaxLen(other.getMaxLen()); } if (other.hasLenBytes()) { setLenBytes(other.getLenBytes()); } if (other.hasMinBytes()) { setMinBytes(other.getMinBytes()); } if (other.hasMaxBytes()) { setMaxBytes(other.getMaxBytes()); } if (other.hasPattern()) { bitField0_ |= 0x00000080; pattern_ = other.pattern_; onChanged(); } if (other.hasPrefix()) { bitField0_ |= 0x00000100; prefix_ = other.prefix_; onChanged(); } if (other.hasSuffix()) { bitField0_ |= 0x00000200; suffix_ = other.suffix_; onChanged(); } if (other.hasContains()) { bitField0_ |= 0x00000400; contains_ = other.contains_; onChanged(); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } switch (other.getWellKnownCase()) { case EMAIL: { setEmail(other.getEmail()); break; } case HOSTNAME: { setHostname(other.getHostname()); break; } case IP: { setIp(other.getIp()); break; } case IPV4: { setIpv4(other.getIpv4()); break; } case IPV6: { setIpv6(other.getIpv6()); break; } case URI: { setUri(other.getUri()); break; } case URI_REF: { setUriRef(other.getUriRef()); break; } case WELLKNOWN_NOT_SET: { break; } } 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.lyft.pgv.validate.Validate.StringRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.StringRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int wellKnownCase_ = 0; private java.lang.Object wellKnown_; public WellKnownCase getWellKnownCase() { return WellKnownCase.forNumber( wellKnownCase_); } public Builder clearWellKnown() { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object const_ = ""; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional string const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional string const = 1; */ public java.lang.String getConst() { java.lang.Object ref = const_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { const_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional string const = 1; */ public com.google.protobuf.ByteString getConstBytes() { java.lang.Object ref = const_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); const_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional string const = 1; */ public Builder setConst( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional string const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = getDefaultInstance().getConst(); onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional string const = 1; */ public Builder setConstBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } private long len_ ; /** *
       * Len specifies that this field must be the specified number of
       * characters (Unicode code points). Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 len = 19; */ public boolean hasLen() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Len specifies that this field must be the specified number of
       * characters (Unicode code points). Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 len = 19; */ public long getLen() { return len_; } /** *
       * Len specifies that this field must be the specified number of
       * characters (Unicode code points). Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 len = 19; */ public Builder setLen(long value) { bitField0_ |= 0x00000002; len_ = value; onChanged(); return this; } /** *
       * Len specifies that this field must be the specified number of
       * characters (Unicode code points). Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 len = 19; */ public Builder clearLen() { bitField0_ = (bitField0_ & ~0x00000002); len_ = 0L; onChanged(); return this; } private long minLen_ ; /** *
       * MinLen specifies that this field must be the specified number of
       * characters (Unicode code points) at a minimum. Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 min_len = 2; */ public boolean hasMinLen() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * MinLen specifies that this field must be the specified number of
       * characters (Unicode code points) at a minimum. Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 min_len = 2; */ public long getMinLen() { return minLen_; } /** *
       * MinLen specifies that this field must be the specified number of
       * characters (Unicode code points) at a minimum. Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 min_len = 2; */ public Builder setMinLen(long value) { bitField0_ |= 0x00000004; minLen_ = value; onChanged(); return this; } /** *
       * MinLen specifies that this field must be the specified number of
       * characters (Unicode code points) at a minimum. Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 min_len = 2; */ public Builder clearMinLen() { bitField0_ = (bitField0_ & ~0x00000004); minLen_ = 0L; onChanged(); return this; } private long maxLen_ ; /** *
       * MaxLen specifies that this field must be the specified number of
       * characters (Unicode code points) at a maximum. Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 max_len = 3; */ public boolean hasMaxLen() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * MaxLen specifies that this field must be the specified number of
       * characters (Unicode code points) at a maximum. Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 max_len = 3; */ public long getMaxLen() { return maxLen_; } /** *
       * MaxLen specifies that this field must be the specified number of
       * characters (Unicode code points) at a maximum. Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 max_len = 3; */ public Builder setMaxLen(long value) { bitField0_ |= 0x00000008; maxLen_ = value; onChanged(); return this; } /** *
       * MaxLen specifies that this field must be the specified number of
       * characters (Unicode code points) at a maximum. Note that the number of
       * characters may differ from the number of bytes in the string.
       * 
* * optional uint64 max_len = 3; */ public Builder clearMaxLen() { bitField0_ = (bitField0_ & ~0x00000008); maxLen_ = 0L; onChanged(); return this; } private long lenBytes_ ; /** *
       * LenBytes specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 len_bytes = 20; */ public boolean hasLenBytes() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * LenBytes specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 len_bytes = 20; */ public long getLenBytes() { return lenBytes_; } /** *
       * LenBytes specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 len_bytes = 20; */ public Builder setLenBytes(long value) { bitField0_ |= 0x00000010; lenBytes_ = value; onChanged(); return this; } /** *
       * LenBytes specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 len_bytes = 20; */ public Builder clearLenBytes() { bitField0_ = (bitField0_ & ~0x00000010); lenBytes_ = 0L; onChanged(); return this; } private long minBytes_ ; /** *
       * MinBytes specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 min_bytes = 4; */ public boolean hasMinBytes() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * MinBytes specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 min_bytes = 4; */ public long getMinBytes() { return minBytes_; } /** *
       * MinBytes specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 min_bytes = 4; */ public Builder setMinBytes(long value) { bitField0_ |= 0x00000020; minBytes_ = value; onChanged(); return this; } /** *
       * MinBytes specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 min_bytes = 4; */ public Builder clearMinBytes() { bitField0_ = (bitField0_ & ~0x00000020); minBytes_ = 0L; onChanged(); return this; } private long maxBytes_ ; /** *
       * MaxBytes specifies that this field must be the specified number of bytes
       * at a maximum
       * 
* * optional uint64 max_bytes = 5; */ public boolean hasMaxBytes() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * MaxBytes specifies that this field must be the specified number of bytes
       * at a maximum
       * 
* * optional uint64 max_bytes = 5; */ public long getMaxBytes() { return maxBytes_; } /** *
       * MaxBytes specifies that this field must be the specified number of bytes
       * at a maximum
       * 
* * optional uint64 max_bytes = 5; */ public Builder setMaxBytes(long value) { bitField0_ |= 0x00000040; maxBytes_ = value; onChanged(); return this; } /** *
       * MaxBytes specifies that this field must be the specified number of bytes
       * at a maximum
       * 
* * optional uint64 max_bytes = 5; */ public Builder clearMaxBytes() { bitField0_ = (bitField0_ & ~0x00000040); maxBytes_ = 0L; onChanged(); return this; } private java.lang.Object pattern_ = ""; /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 6; */ public boolean hasPattern() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 6; */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { pattern_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 6; */ public com.google.protobuf.ByteString getPatternBytes() { java.lang.Object ref = pattern_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pattern_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 6; */ public Builder setPattern( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; pattern_ = value; onChanged(); return this; } /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 6; */ public Builder clearPattern() { bitField0_ = (bitField0_ & ~0x00000080); pattern_ = getDefaultInstance().getPattern(); onChanged(); return this; } /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 6; */ public Builder setPatternBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; pattern_ = value; onChanged(); return this; } private java.lang.Object prefix_ = ""; /** *
       * Prefix specifies that this field must have the specified substring at
       * the beginning of the string.
       * 
* * optional string prefix = 7; */ public boolean hasPrefix() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Prefix specifies that this field must have the specified substring at
       * the beginning of the string.
       * 
* * optional string prefix = 7; */ public java.lang.String getPrefix() { java.lang.Object ref = prefix_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { prefix_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Prefix specifies that this field must have the specified substring at
       * the beginning of the string.
       * 
* * optional string prefix = 7; */ public com.google.protobuf.ByteString getPrefixBytes() { java.lang.Object ref = prefix_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); prefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Prefix specifies that this field must have the specified substring at
       * the beginning of the string.
       * 
* * optional string prefix = 7; */ public Builder setPrefix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; prefix_ = value; onChanged(); return this; } /** *
       * Prefix specifies that this field must have the specified substring at
       * the beginning of the string.
       * 
* * optional string prefix = 7; */ public Builder clearPrefix() { bitField0_ = (bitField0_ & ~0x00000100); prefix_ = getDefaultInstance().getPrefix(); onChanged(); return this; } /** *
       * Prefix specifies that this field must have the specified substring at
       * the beginning of the string.
       * 
* * optional string prefix = 7; */ public Builder setPrefixBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; prefix_ = value; onChanged(); return this; } private java.lang.Object suffix_ = ""; /** *
       * Suffix specifies that this field must have the specified substring at
       * the end of the string.
       * 
* * optional string suffix = 8; */ public boolean hasSuffix() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * Suffix specifies that this field must have the specified substring at
       * the end of the string.
       * 
* * optional string suffix = 8; */ public java.lang.String getSuffix() { java.lang.Object ref = suffix_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { suffix_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Suffix specifies that this field must have the specified substring at
       * the end of the string.
       * 
* * optional string suffix = 8; */ public com.google.protobuf.ByteString getSuffixBytes() { java.lang.Object ref = suffix_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); suffix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Suffix specifies that this field must have the specified substring at
       * the end of the string.
       * 
* * optional string suffix = 8; */ public Builder setSuffix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; suffix_ = value; onChanged(); return this; } /** *
       * Suffix specifies that this field must have the specified substring at
       * the end of the string.
       * 
* * optional string suffix = 8; */ public Builder clearSuffix() { bitField0_ = (bitField0_ & ~0x00000200); suffix_ = getDefaultInstance().getSuffix(); onChanged(); return this; } /** *
       * Suffix specifies that this field must have the specified substring at
       * the end of the string.
       * 
* * optional string suffix = 8; */ public Builder setSuffixBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; suffix_ = value; onChanged(); return this; } private java.lang.Object contains_ = ""; /** *
       * Contains specifies that this field must have the specified substring
       * anywhere in the string.
       * 
* * optional string contains = 9; */ public boolean hasContains() { return ((bitField0_ & 0x00000400) != 0); } /** *
       * Contains specifies that this field must have the specified substring
       * anywhere in the string.
       * 
* * optional string contains = 9; */ public java.lang.String getContains() { java.lang.Object ref = contains_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { contains_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Contains specifies that this field must have the specified substring
       * anywhere in the string.
       * 
* * optional string contains = 9; */ public com.google.protobuf.ByteString getContainsBytes() { java.lang.Object ref = contains_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contains_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Contains specifies that this field must have the specified substring
       * anywhere in the string.
       * 
* * optional string contains = 9; */ public Builder setContains( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; contains_ = value; onChanged(); return this; } /** *
       * Contains specifies that this field must have the specified substring
       * anywhere in the string.
       * 
* * optional string contains = 9; */ public Builder clearContains() { bitField0_ = (bitField0_ & ~0x00000400); contains_ = getDefaultInstance().getContains(); onChanged(); return this; } /** *
       * Contains specifies that this field must have the specified substring
       * anywhere in the string.
       * 
* * optional string contains = 9; */ public Builder setContainsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; contains_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList in_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { in_ = new com.google.protobuf.LazyStringArrayList(in_); bitField0_ |= 0x00000800; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated string in = 10; */ public com.google.protobuf.ProtocolStringList getInList() { return in_.getUnmodifiableView(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated string in = 10; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated string in = 10; */ public java.lang.String getIn(int index) { return in_.get(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated string in = 10; */ public com.google.protobuf.ByteString getInBytes(int index) { return in_.getByteString(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated string in = 10; */ public Builder setIn( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureInIsMutable(); in_.set(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated string in = 10; */ public Builder addIn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureInIsMutable(); in_.add(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated string in = 10; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated string in = 10; */ public Builder clearIn() { in_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated string in = 10; */ public Builder addInBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureInIsMutable(); in_.add(value); onChanged(); return this; } private com.google.protobuf.LazyStringList notIn_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { notIn_ = new com.google.protobuf.LazyStringArrayList(notIn_); bitField0_ |= 0x00001000; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated string not_in = 11; */ public com.google.protobuf.ProtocolStringList getNotInList() { return notIn_.getUnmodifiableView(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated string not_in = 11; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated string not_in = 11; */ public java.lang.String getNotIn(int index) { return notIn_.get(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated string not_in = 11; */ public com.google.protobuf.ByteString getNotInBytes(int index) { return notIn_.getByteString(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated string not_in = 11; */ public Builder setNotIn( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNotInIsMutable(); notIn_.set(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated string not_in = 11; */ public Builder addNotIn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNotInIsMutable(); notIn_.add(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated string not_in = 11; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated string not_in = 11; */ public Builder clearNotIn() { notIn_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated string not_in = 11; */ public Builder addNotInBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureNotInIsMutable(); notIn_.add(value); onChanged(); return this; } /** *
       * Email specifies that the field must be a valid email address as
       * defined by RFC 5322
       * 
* * optional bool email = 12; */ public boolean hasEmail() { return wellKnownCase_ == 12; } /** *
       * Email specifies that the field must be a valid email address as
       * defined by RFC 5322
       * 
* * optional bool email = 12; */ public boolean getEmail() { if (wellKnownCase_ == 12) { return (java.lang.Boolean) wellKnown_; } return false; } /** *
       * Email specifies that the field must be a valid email address as
       * defined by RFC 5322
       * 
* * optional bool email = 12; */ public Builder setEmail(boolean value) { wellKnownCase_ = 12; wellKnown_ = value; onChanged(); return this; } /** *
       * Email specifies that the field must be a valid email address as
       * defined by RFC 5322
       * 
* * optional bool email = 12; */ public Builder clearEmail() { if (wellKnownCase_ == 12) { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); } return this; } /** *
       * Hostname specifies that the field must be a valid hostname as
       * defined by RFC 1034. This constraint does not support
       * internationalized domain names (IDNs).
       * 
* * optional bool hostname = 13; */ public boolean hasHostname() { return wellKnownCase_ == 13; } /** *
       * Hostname specifies that the field must be a valid hostname as
       * defined by RFC 1034. This constraint does not support
       * internationalized domain names (IDNs).
       * 
* * optional bool hostname = 13; */ public boolean getHostname() { if (wellKnownCase_ == 13) { return (java.lang.Boolean) wellKnown_; } return false; } /** *
       * Hostname specifies that the field must be a valid hostname as
       * defined by RFC 1034. This constraint does not support
       * internationalized domain names (IDNs).
       * 
* * optional bool hostname = 13; */ public Builder setHostname(boolean value) { wellKnownCase_ = 13; wellKnown_ = value; onChanged(); return this; } /** *
       * Hostname specifies that the field must be a valid hostname as
       * defined by RFC 1034. This constraint does not support
       * internationalized domain names (IDNs).
       * 
* * optional bool hostname = 13; */ public Builder clearHostname() { if (wellKnownCase_ == 13) { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); } return this; } /** *
       * Ip specifies that the field must be a valid IP (v4 or v6) address.
       * Valid IPv6 addresses should not include surrounding square brackets.
       * 
* * optional bool ip = 14; */ public boolean hasIp() { return wellKnownCase_ == 14; } /** *
       * Ip specifies that the field must be a valid IP (v4 or v6) address.
       * Valid IPv6 addresses should not include surrounding square brackets.
       * 
* * optional bool ip = 14; */ public boolean getIp() { if (wellKnownCase_ == 14) { return (java.lang.Boolean) wellKnown_; } return false; } /** *
       * Ip specifies that the field must be a valid IP (v4 or v6) address.
       * Valid IPv6 addresses should not include surrounding square brackets.
       * 
* * optional bool ip = 14; */ public Builder setIp(boolean value) { wellKnownCase_ = 14; wellKnown_ = value; onChanged(); return this; } /** *
       * Ip specifies that the field must be a valid IP (v4 or v6) address.
       * Valid IPv6 addresses should not include surrounding square brackets.
       * 
* * optional bool ip = 14; */ public Builder clearIp() { if (wellKnownCase_ == 14) { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); } return this; } /** *
       * Ipv4 specifies that the field must be a valid IPv4 address.
       * 
* * optional bool ipv4 = 15; */ public boolean hasIpv4() { return wellKnownCase_ == 15; } /** *
       * Ipv4 specifies that the field must be a valid IPv4 address.
       * 
* * optional bool ipv4 = 15; */ public boolean getIpv4() { if (wellKnownCase_ == 15) { return (java.lang.Boolean) wellKnown_; } return false; } /** *
       * Ipv4 specifies that the field must be a valid IPv4 address.
       * 
* * optional bool ipv4 = 15; */ public Builder setIpv4(boolean value) { wellKnownCase_ = 15; wellKnown_ = value; onChanged(); return this; } /** *
       * Ipv4 specifies that the field must be a valid IPv4 address.
       * 
* * optional bool ipv4 = 15; */ public Builder clearIpv4() { if (wellKnownCase_ == 15) { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); } return this; } /** *
       * Ipv6 specifies that the field must be a valid IPv6 address. Valid
       * IPv6 addresses should not include surrounding square brackets.
       * 
* * optional bool ipv6 = 16; */ public boolean hasIpv6() { return wellKnownCase_ == 16; } /** *
       * Ipv6 specifies that the field must be a valid IPv6 address. Valid
       * IPv6 addresses should not include surrounding square brackets.
       * 
* * optional bool ipv6 = 16; */ public boolean getIpv6() { if (wellKnownCase_ == 16) { return (java.lang.Boolean) wellKnown_; } return false; } /** *
       * Ipv6 specifies that the field must be a valid IPv6 address. Valid
       * IPv6 addresses should not include surrounding square brackets.
       * 
* * optional bool ipv6 = 16; */ public Builder setIpv6(boolean value) { wellKnownCase_ = 16; wellKnown_ = value; onChanged(); return this; } /** *
       * Ipv6 specifies that the field must be a valid IPv6 address. Valid
       * IPv6 addresses should not include surrounding square brackets.
       * 
* * optional bool ipv6 = 16; */ public Builder clearIpv6() { if (wellKnownCase_ == 16) { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); } return this; } /** *
       * Uri specifies that the field must be a valid, absolute URI as defined
       * by RFC 3986
       * 
* * optional bool uri = 17; */ public boolean hasUri() { return wellKnownCase_ == 17; } /** *
       * Uri specifies that the field must be a valid, absolute URI as defined
       * by RFC 3986
       * 
* * optional bool uri = 17; */ public boolean getUri() { if (wellKnownCase_ == 17) { return (java.lang.Boolean) wellKnown_; } return false; } /** *
       * Uri specifies that the field must be a valid, absolute URI as defined
       * by RFC 3986
       * 
* * optional bool uri = 17; */ public Builder setUri(boolean value) { wellKnownCase_ = 17; wellKnown_ = value; onChanged(); return this; } /** *
       * Uri specifies that the field must be a valid, absolute URI as defined
       * by RFC 3986
       * 
* * optional bool uri = 17; */ public Builder clearUri() { if (wellKnownCase_ == 17) { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); } return this; } /** *
       * UriRef specifies that the field must be a valid URI as defined by RFC
       * 3986 and may be relative or absolute.
       * 
* * optional bool uri_ref = 18; */ public boolean hasUriRef() { return wellKnownCase_ == 18; } /** *
       * UriRef specifies that the field must be a valid URI as defined by RFC
       * 3986 and may be relative or absolute.
       * 
* * optional bool uri_ref = 18; */ public boolean getUriRef() { if (wellKnownCase_ == 18) { return (java.lang.Boolean) wellKnown_; } return false; } /** *
       * UriRef specifies that the field must be a valid URI as defined by RFC
       * 3986 and may be relative or absolute.
       * 
* * optional bool uri_ref = 18; */ public Builder setUriRef(boolean value) { wellKnownCase_ = 18; wellKnown_ = value; onChanged(); return this; } /** *
       * UriRef specifies that the field must be a valid URI as defined by RFC
       * 3986 and may be relative or absolute.
       * 
* * optional bool uri_ref = 18; */ public Builder clearUriRef() { if (wellKnownCase_ == 18) { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); } return this; } @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:validate.StringRules) } // @@protoc_insertion_point(class_scope:validate.StringRules) private static final com.lyft.pgv.validate.Validate.StringRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.StringRules(); } public static com.lyft.pgv.validate.Validate.StringRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StringRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StringRules(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.lyft.pgv.validate.Validate.StringRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BytesRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.BytesRules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional bytes const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional bytes const = 1; */ com.google.protobuf.ByteString getConst(); /** *
     * Len specifies that this field must be the specified number of bytes
     * 
* * optional uint64 len = 13; */ boolean hasLen(); /** *
     * Len specifies that this field must be the specified number of bytes
     * 
* * optional uint64 len = 13; */ long getLen(); /** *
     * MinLen specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 min_len = 2; */ boolean hasMinLen(); /** *
     * MinLen specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 min_len = 2; */ long getMinLen(); /** *
     * MaxLen specifies that this field must be the specified number of bytes
     * at a maximum
     * 
* * optional uint64 max_len = 3; */ boolean hasMaxLen(); /** *
     * MaxLen specifies that this field must be the specified number of bytes
     * at a maximum
     * 
* * optional uint64 max_len = 3; */ long getMaxLen(); /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 4; */ boolean hasPattern(); /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 4; */ java.lang.String getPattern(); /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 4; */ com.google.protobuf.ByteString getPatternBytes(); /** *
     * Prefix specifies that this field must have the specified bytes at the
     * beginning of the string.
     * 
* * optional bytes prefix = 5; */ boolean hasPrefix(); /** *
     * Prefix specifies that this field must have the specified bytes at the
     * beginning of the string.
     * 
* * optional bytes prefix = 5; */ com.google.protobuf.ByteString getPrefix(); /** *
     * Suffix specifies that this field must have the specified bytes at the
     * end of the string.
     * 
* * optional bytes suffix = 6; */ boolean hasSuffix(); /** *
     * Suffix specifies that this field must have the specified bytes at the
     * end of the string.
     * 
* * optional bytes suffix = 6; */ com.google.protobuf.ByteString getSuffix(); /** *
     * Contains specifies that this field must have the specified bytes
     * anywhere in the string.
     * 
* * optional bytes contains = 7; */ boolean hasContains(); /** *
     * Contains specifies that this field must have the specified bytes
     * anywhere in the string.
     * 
* * optional bytes contains = 7; */ com.google.protobuf.ByteString getContains(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated bytes in = 8; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated bytes in = 8; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated bytes in = 8; */ com.google.protobuf.ByteString getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated bytes not_in = 9; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated bytes not_in = 9; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated bytes not_in = 9; */ com.google.protobuf.ByteString getNotIn(int index); /** *
     * Ip specifies that the field must be a valid IP (v4 or v6) address in
     * byte format
     * 
* * optional bool ip = 10; */ boolean hasIp(); /** *
     * Ip specifies that the field must be a valid IP (v4 or v6) address in
     * byte format
     * 
* * optional bool ip = 10; */ boolean getIp(); /** *
     * Ipv4 specifies that the field must be a valid IPv4 address in byte
     * format
     * 
* * optional bool ipv4 = 11; */ boolean hasIpv4(); /** *
     * Ipv4 specifies that the field must be a valid IPv4 address in byte
     * format
     * 
* * optional bool ipv4 = 11; */ boolean getIpv4(); /** *
     * Ipv6 specifies that the field must be a valid IPv6 address in byte
     * format
     * 
* * optional bool ipv6 = 12; */ boolean hasIpv6(); /** *
     * Ipv6 specifies that the field must be a valid IPv6 address in byte
     * format
     * 
* * optional bool ipv6 = 12; */ boolean getIpv6(); public com.lyft.pgv.validate.Validate.BytesRules.WellKnownCase getWellKnownCase(); } /** *
   * BytesRules describe the constraints applied to `bytes` values
   * 
* * Protobuf type {@code validate.BytesRules} */ public static final class BytesRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.BytesRules) BytesRulesOrBuilder { private static final long serialVersionUID = 0L; // Use BytesRules.newBuilder() to construct. private BytesRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BytesRules() { const_ = com.google.protobuf.ByteString.EMPTY; pattern_ = ""; prefix_ = com.google.protobuf.ByteString.EMPTY; suffix_ = com.google.protobuf.ByteString.EMPTY; contains_ = com.google.protobuf.ByteString.EMPTY; in_ = java.util.Collections.emptyList(); notIn_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BytesRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BytesRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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: { bitField0_ |= 0x00000001; const_ = input.readBytes(); break; } case 16: { bitField0_ |= 0x00000004; minLen_ = input.readUInt64(); break; } case 24: { bitField0_ |= 0x00000008; maxLen_ = input.readUInt64(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; pattern_ = bs; break; } case 42: { bitField0_ |= 0x00000020; prefix_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000040; suffix_ = input.readBytes(); break; } case 58: { bitField0_ |= 0x00000080; contains_ = input.readBytes(); break; } case 66: { if (!((mutable_bitField0_ & 0x00000100) != 0)) { in_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } in_.add(input.readBytes()); break; } case 74: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { notIn_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } notIn_.add(input.readBytes()); break; } case 80: { wellKnownCase_ = 10; wellKnown_ = input.readBool(); break; } case 88: { wellKnownCase_ = 11; wellKnown_ = input.readBool(); break; } case 96: { wellKnownCase_ = 12; wellKnown_ = input.readBool(); break; } case 104: { bitField0_ |= 0x00000002; len_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000100) != 0)) { in_ = java.util.Collections.unmodifiableList(in_); // C } if (((mutable_bitField0_ & 0x00000200) != 0)) { notIn_ = java.util.Collections.unmodifiableList(notIn_); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_BytesRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_BytesRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.BytesRules.class, com.lyft.pgv.validate.Validate.BytesRules.Builder.class); } private int bitField0_; private int wellKnownCase_ = 0; private java.lang.Object wellKnown_; public enum WellKnownCase implements com.google.protobuf.Internal.EnumLite { IP(10), IPV4(11), IPV6(12), WELLKNOWN_NOT_SET(0); private final int value; private WellKnownCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static WellKnownCase valueOf(int value) { return forNumber(value); } public static WellKnownCase forNumber(int value) { switch (value) { case 10: return IP; case 11: return IPV4; case 12: return IPV6; case 0: return WELLKNOWN_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public WellKnownCase getWellKnownCase() { return WellKnownCase.forNumber( wellKnownCase_); } public static final int CONST_FIELD_NUMBER = 1; private com.google.protobuf.ByteString const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional bytes const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional bytes const = 1; */ public com.google.protobuf.ByteString getConst() { return const_; } public static final int LEN_FIELD_NUMBER = 13; private long len_; /** *
     * Len specifies that this field must be the specified number of bytes
     * 
* * optional uint64 len = 13; */ public boolean hasLen() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Len specifies that this field must be the specified number of bytes
     * 
* * optional uint64 len = 13; */ public long getLen() { return len_; } public static final int MIN_LEN_FIELD_NUMBER = 2; private long minLen_; /** *
     * MinLen specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 min_len = 2; */ public boolean hasMinLen() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * MinLen specifies that this field must be the specified number of bytes
     * at a minimum
     * 
* * optional uint64 min_len = 2; */ public long getMinLen() { return minLen_; } public static final int MAX_LEN_FIELD_NUMBER = 3; private long maxLen_; /** *
     * MaxLen specifies that this field must be the specified number of bytes
     * at a maximum
     * 
* * optional uint64 max_len = 3; */ public boolean hasMaxLen() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * MaxLen specifies that this field must be the specified number of bytes
     * at a maximum
     * 
* * optional uint64 max_len = 3; */ public long getMaxLen() { return maxLen_; } public static final int PATTERN_FIELD_NUMBER = 4; private volatile java.lang.Object pattern_; /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 4; */ public boolean hasPattern() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 4; */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; 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(); if (bs.isValidUtf8()) { pattern_ = s; } return s; } } /** *
     * Pattern specifes that this field must match against the specified
     * regular expression (RE2 syntax). The included expression should elide
     * any delimiters.
     * 
* * optional string pattern = 4; */ public com.google.protobuf.ByteString getPatternBytes() { java.lang.Object ref = pattern_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pattern_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PREFIX_FIELD_NUMBER = 5; private com.google.protobuf.ByteString prefix_; /** *
     * Prefix specifies that this field must have the specified bytes at the
     * beginning of the string.
     * 
* * optional bytes prefix = 5; */ public boolean hasPrefix() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Prefix specifies that this field must have the specified bytes at the
     * beginning of the string.
     * 
* * optional bytes prefix = 5; */ public com.google.protobuf.ByteString getPrefix() { return prefix_; } public static final int SUFFIX_FIELD_NUMBER = 6; private com.google.protobuf.ByteString suffix_; /** *
     * Suffix specifies that this field must have the specified bytes at the
     * end of the string.
     * 
* * optional bytes suffix = 6; */ public boolean hasSuffix() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Suffix specifies that this field must have the specified bytes at the
     * end of the string.
     * 
* * optional bytes suffix = 6; */ public com.google.protobuf.ByteString getSuffix() { return suffix_; } public static final int CONTAINS_FIELD_NUMBER = 7; private com.google.protobuf.ByteString contains_; /** *
     * Contains specifies that this field must have the specified bytes
     * anywhere in the string.
     * 
* * optional bytes contains = 7; */ public boolean hasContains() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Contains specifies that this field must have the specified bytes
     * anywhere in the string.
     * 
* * optional bytes contains = 7; */ public com.google.protobuf.ByteString getContains() { return contains_; } public static final int IN_FIELD_NUMBER = 8; private java.util.List in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated bytes in = 8; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated bytes in = 8; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated bytes in = 8; */ public com.google.protobuf.ByteString getIn(int index) { return in_.get(index); } public static final int NOT_IN_FIELD_NUMBER = 9; private java.util.List notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated bytes not_in = 9; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated bytes not_in = 9; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated bytes not_in = 9; */ public com.google.protobuf.ByteString getNotIn(int index) { return notIn_.get(index); } public static final int IP_FIELD_NUMBER = 10; /** *
     * Ip specifies that the field must be a valid IP (v4 or v6) address in
     * byte format
     * 
* * optional bool ip = 10; */ public boolean hasIp() { return wellKnownCase_ == 10; } /** *
     * Ip specifies that the field must be a valid IP (v4 or v6) address in
     * byte format
     * 
* * optional bool ip = 10; */ public boolean getIp() { if (wellKnownCase_ == 10) { return (java.lang.Boolean) wellKnown_; } return false; } public static final int IPV4_FIELD_NUMBER = 11; /** *
     * Ipv4 specifies that the field must be a valid IPv4 address in byte
     * format
     * 
* * optional bool ipv4 = 11; */ public boolean hasIpv4() { return wellKnownCase_ == 11; } /** *
     * Ipv4 specifies that the field must be a valid IPv4 address in byte
     * format
     * 
* * optional bool ipv4 = 11; */ public boolean getIpv4() { if (wellKnownCase_ == 11) { return (java.lang.Boolean) wellKnown_; } return false; } public static final int IPV6_FIELD_NUMBER = 12; /** *
     * Ipv6 specifies that the field must be a valid IPv6 address in byte
     * format
     * 
* * optional bool ipv6 = 12; */ public boolean hasIpv6() { return wellKnownCase_ == 12; } /** *
     * Ipv6 specifies that the field must be a valid IPv6 address in byte
     * format
     * 
* * optional bool ipv6 = 12; */ public boolean getIpv6() { if (wellKnownCase_ == 12) { return (java.lang.Boolean) wellKnown_; } return false; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, const_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt64(2, minLen_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt64(3, maxLen_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pattern_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBytes(5, prefix_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBytes(6, suffix_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeBytes(7, contains_); } for (int i = 0; i < in_.size(); i++) { output.writeBytes(8, in_.get(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeBytes(9, notIn_.get(i)); } if (wellKnownCase_ == 10) { output.writeBool( 10, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 11) { output.writeBool( 11, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 12) { output.writeBool( 12, (boolean)((java.lang.Boolean) wellKnown_)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt64(13, len_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, const_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, minLen_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, maxLen_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pattern_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, prefix_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, suffix_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, contains_); } { int dataSize = 0; for (int i = 0; i < in_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(in_.get(i)); } size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; for (int i = 0; i < notIn_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(notIn_.get(i)); } size += dataSize; size += 1 * getNotInList().size(); } if (wellKnownCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 10, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 11, (boolean)((java.lang.Boolean) wellKnown_)); } if (wellKnownCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 12, (boolean)((java.lang.Boolean) wellKnown_)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(13, len_); } 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.lyft.pgv.validate.Validate.BytesRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.BytesRules other = (com.lyft.pgv.validate.Validate.BytesRules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (!getConst() .equals(other.getConst())) return false; } if (hasLen() != other.hasLen()) return false; if (hasLen()) { if (getLen() != other.getLen()) return false; } if (hasMinLen() != other.hasMinLen()) return false; if (hasMinLen()) { if (getMinLen() != other.getMinLen()) return false; } if (hasMaxLen() != other.hasMaxLen()) return false; if (hasMaxLen()) { if (getMaxLen() != other.getMaxLen()) return false; } if (hasPattern() != other.hasPattern()) return false; if (hasPattern()) { if (!getPattern() .equals(other.getPattern())) return false; } if (hasPrefix() != other.hasPrefix()) return false; if (hasPrefix()) { if (!getPrefix() .equals(other.getPrefix())) return false; } if (hasSuffix() != other.hasSuffix()) return false; if (hasSuffix()) { if (!getSuffix() .equals(other.getSuffix())) return false; } if (hasContains() != other.hasContains()) return false; if (hasContains()) { if (!getContains() .equals(other.getContains())) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) return false; if (!getWellKnownCase().equals(other.getWellKnownCase())) return false; switch (wellKnownCase_) { case 10: if (getIp() != other.getIp()) return false; break; case 11: if (getIpv4() != other.getIpv4()) return false; break; case 12: if (getIpv6() != other.getIpv6()) return false; break; case 0: default: } 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + getConst().hashCode(); } if (hasLen()) { hash = (37 * hash) + LEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLen()); } if (hasMinLen()) { hash = (37 * hash) + MIN_LEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinLen()); } if (hasMaxLen()) { hash = (37 * hash) + MAX_LEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxLen()); } if (hasPattern()) { hash = (37 * hash) + PATTERN_FIELD_NUMBER; hash = (53 * hash) + getPattern().hashCode(); } if (hasPrefix()) { hash = (37 * hash) + PREFIX_FIELD_NUMBER; hash = (53 * hash) + getPrefix().hashCode(); } if (hasSuffix()) { hash = (37 * hash) + SUFFIX_FIELD_NUMBER; hash = (53 * hash) + getSuffix().hashCode(); } if (hasContains()) { hash = (37 * hash) + CONTAINS_FIELD_NUMBER; hash = (53 * hash) + getContains().hashCode(); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } switch (wellKnownCase_) { case 10: hash = (37 * hash) + IP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIp()); break; case 11: hash = (37 * hash) + IPV4_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIpv4()); break; case 12: hash = (37 * hash) + IPV6_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIpv6()); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.BytesRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.BytesRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.BytesRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.BytesRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.BytesRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.BytesRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.BytesRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.BytesRules 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.lyft.pgv.validate.Validate.BytesRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.BytesRules 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.lyft.pgv.validate.Validate.BytesRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.BytesRules 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.lyft.pgv.validate.Validate.BytesRules 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; } /** *
     * BytesRules describe the constraints applied to `bytes` values
     * 
* * Protobuf type {@code validate.BytesRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.BytesRules) com.lyft.pgv.validate.Validate.BytesRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_BytesRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_BytesRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.BytesRules.class, com.lyft.pgv.validate.Validate.BytesRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.BytesRules.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(); const_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); len_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); minLen_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); maxLen_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); pattern_ = ""; bitField0_ = (bitField0_ & ~0x00000010); prefix_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); suffix_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000040); contains_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000080); in_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); notIn_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); wellKnownCase_ = 0; wellKnown_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_BytesRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.BytesRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.BytesRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.BytesRules build() { com.lyft.pgv.validate.Validate.BytesRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.BytesRules buildPartial() { com.lyft.pgv.validate.Validate.BytesRules result = new com.lyft.pgv.validate.Validate.BytesRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.const_ = const_; if (((from_bitField0_ & 0x00000002) != 0)) { result.len_ = len_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.minLen_ = minLen_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.maxLen_ = maxLen_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.pattern_ = pattern_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.prefix_ = prefix_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000040; } result.suffix_ = suffix_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.contains_ = contains_; if (((bitField0_ & 0x00000100) != 0)) { in_ = java.util.Collections.unmodifiableList(in_); bitField0_ = (bitField0_ & ~0x00000100); } result.in_ = in_; if (((bitField0_ & 0x00000200) != 0)) { notIn_ = java.util.Collections.unmodifiableList(notIn_); bitField0_ = (bitField0_ & ~0x00000200); } result.notIn_ = notIn_; if (wellKnownCase_ == 10) { result.wellKnown_ = wellKnown_; } if (wellKnownCase_ == 11) { result.wellKnown_ = wellKnown_; } if (wellKnownCase_ == 12) { result.wellKnown_ = wellKnown_; } result.bitField0_ = to_bitField0_; result.wellKnownCase_ = wellKnownCase_; 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.lyft.pgv.validate.Validate.BytesRules) { return mergeFrom((com.lyft.pgv.validate.Validate.BytesRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.BytesRules other) { if (other == com.lyft.pgv.validate.Validate.BytesRules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasLen()) { setLen(other.getLen()); } if (other.hasMinLen()) { setMinLen(other.getMinLen()); } if (other.hasMaxLen()) { setMaxLen(other.getMaxLen()); } if (other.hasPattern()) { bitField0_ |= 0x00000010; pattern_ = other.pattern_; onChanged(); } if (other.hasPrefix()) { setPrefix(other.getPrefix()); } if (other.hasSuffix()) { setSuffix(other.getSuffix()); } if (other.hasContains()) { setContains(other.getContains()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } switch (other.getWellKnownCase()) { case IP: { setIp(other.getIp()); break; } case IPV4: { setIpv4(other.getIpv4()); break; } case IPV6: { setIpv6(other.getIpv6()); break; } case WELLKNOWN_NOT_SET: { break; } } 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.lyft.pgv.validate.Validate.BytesRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.BytesRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int wellKnownCase_ = 0; private java.lang.Object wellKnown_; public WellKnownCase getWellKnownCase() { return WellKnownCase.forNumber( wellKnownCase_); } public Builder clearWellKnown() { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.ByteString const_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional bytes const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional bytes const = 1; */ public com.google.protobuf.ByteString getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional bytes const = 1; */ public Builder setConst(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional bytes const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = getDefaultInstance().getConst(); onChanged(); return this; } private long len_ ; /** *
       * Len specifies that this field must be the specified number of bytes
       * 
* * optional uint64 len = 13; */ public boolean hasLen() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Len specifies that this field must be the specified number of bytes
       * 
* * optional uint64 len = 13; */ public long getLen() { return len_; } /** *
       * Len specifies that this field must be the specified number of bytes
       * 
* * optional uint64 len = 13; */ public Builder setLen(long value) { bitField0_ |= 0x00000002; len_ = value; onChanged(); return this; } /** *
       * Len specifies that this field must be the specified number of bytes
       * 
* * optional uint64 len = 13; */ public Builder clearLen() { bitField0_ = (bitField0_ & ~0x00000002); len_ = 0L; onChanged(); return this; } private long minLen_ ; /** *
       * MinLen specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 min_len = 2; */ public boolean hasMinLen() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * MinLen specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 min_len = 2; */ public long getMinLen() { return minLen_; } /** *
       * MinLen specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 min_len = 2; */ public Builder setMinLen(long value) { bitField0_ |= 0x00000004; minLen_ = value; onChanged(); return this; } /** *
       * MinLen specifies that this field must be the specified number of bytes
       * at a minimum
       * 
* * optional uint64 min_len = 2; */ public Builder clearMinLen() { bitField0_ = (bitField0_ & ~0x00000004); minLen_ = 0L; onChanged(); return this; } private long maxLen_ ; /** *
       * MaxLen specifies that this field must be the specified number of bytes
       * at a maximum
       * 
* * optional uint64 max_len = 3; */ public boolean hasMaxLen() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * MaxLen specifies that this field must be the specified number of bytes
       * at a maximum
       * 
* * optional uint64 max_len = 3; */ public long getMaxLen() { return maxLen_; } /** *
       * MaxLen specifies that this field must be the specified number of bytes
       * at a maximum
       * 
* * optional uint64 max_len = 3; */ public Builder setMaxLen(long value) { bitField0_ |= 0x00000008; maxLen_ = value; onChanged(); return this; } /** *
       * MaxLen specifies that this field must be the specified number of bytes
       * at a maximum
       * 
* * optional uint64 max_len = 3; */ public Builder clearMaxLen() { bitField0_ = (bitField0_ & ~0x00000008); maxLen_ = 0L; onChanged(); return this; } private java.lang.Object pattern_ = ""; /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 4; */ public boolean hasPattern() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 4; */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { pattern_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 4; */ public com.google.protobuf.ByteString getPatternBytes() { java.lang.Object ref = pattern_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pattern_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 4; */ public Builder setPattern( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; pattern_ = value; onChanged(); return this; } /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 4; */ public Builder clearPattern() { bitField0_ = (bitField0_ & ~0x00000010); pattern_ = getDefaultInstance().getPattern(); onChanged(); return this; } /** *
       * Pattern specifes that this field must match against the specified
       * regular expression (RE2 syntax). The included expression should elide
       * any delimiters.
       * 
* * optional string pattern = 4; */ public Builder setPatternBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; pattern_ = value; onChanged(); return this; } private com.google.protobuf.ByteString prefix_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Prefix specifies that this field must have the specified bytes at the
       * beginning of the string.
       * 
* * optional bytes prefix = 5; */ public boolean hasPrefix() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Prefix specifies that this field must have the specified bytes at the
       * beginning of the string.
       * 
* * optional bytes prefix = 5; */ public com.google.protobuf.ByteString getPrefix() { return prefix_; } /** *
       * Prefix specifies that this field must have the specified bytes at the
       * beginning of the string.
       * 
* * optional bytes prefix = 5; */ public Builder setPrefix(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; prefix_ = value; onChanged(); return this; } /** *
       * Prefix specifies that this field must have the specified bytes at the
       * beginning of the string.
       * 
* * optional bytes prefix = 5; */ public Builder clearPrefix() { bitField0_ = (bitField0_ & ~0x00000020); prefix_ = getDefaultInstance().getPrefix(); onChanged(); return this; } private com.google.protobuf.ByteString suffix_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Suffix specifies that this field must have the specified bytes at the
       * end of the string.
       * 
* * optional bytes suffix = 6; */ public boolean hasSuffix() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Suffix specifies that this field must have the specified bytes at the
       * end of the string.
       * 
* * optional bytes suffix = 6; */ public com.google.protobuf.ByteString getSuffix() { return suffix_; } /** *
       * Suffix specifies that this field must have the specified bytes at the
       * end of the string.
       * 
* * optional bytes suffix = 6; */ public Builder setSuffix(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; suffix_ = value; onChanged(); return this; } /** *
       * Suffix specifies that this field must have the specified bytes at the
       * end of the string.
       * 
* * optional bytes suffix = 6; */ public Builder clearSuffix() { bitField0_ = (bitField0_ & ~0x00000040); suffix_ = getDefaultInstance().getSuffix(); onChanged(); return this; } private com.google.protobuf.ByteString contains_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Contains specifies that this field must have the specified bytes
       * anywhere in the string.
       * 
* * optional bytes contains = 7; */ public boolean hasContains() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Contains specifies that this field must have the specified bytes
       * anywhere in the string.
       * 
* * optional bytes contains = 7; */ public com.google.protobuf.ByteString getContains() { return contains_; } /** *
       * Contains specifies that this field must have the specified bytes
       * anywhere in the string.
       * 
* * optional bytes contains = 7; */ public Builder setContains(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; contains_ = value; onChanged(); return this; } /** *
       * Contains specifies that this field must have the specified bytes
       * anywhere in the string.
       * 
* * optional bytes contains = 7; */ public Builder clearContains() { bitField0_ = (bitField0_ & ~0x00000080); contains_ = getDefaultInstance().getContains(); onChanged(); return this; } private java.util.List in_ = java.util.Collections.emptyList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { in_ = new java.util.ArrayList(in_); bitField0_ |= 0x00000100; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated bytes in = 8; */ public java.util.List getInList() { return ((bitField0_ & 0x00000100) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated bytes in = 8; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated bytes in = 8; */ public com.google.protobuf.ByteString getIn(int index) { return in_.get(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated bytes in = 8; */ public Builder setIn( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureInIsMutable(); in_.set(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated bytes in = 8; */ public Builder addIn(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureInIsMutable(); in_.add(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated bytes in = 8; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated bytes in = 8; */ public Builder clearIn() { in_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } private java.util.List notIn_ = java.util.Collections.emptyList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { notIn_ = new java.util.ArrayList(notIn_); bitField0_ |= 0x00000200; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated bytes not_in = 9; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000200) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated bytes not_in = 9; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated bytes not_in = 9; */ public com.google.protobuf.ByteString getNotIn(int index) { return notIn_.get(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated bytes not_in = 9; */ public Builder setNotIn( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureNotInIsMutable(); notIn_.set(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated bytes not_in = 9; */ public Builder addNotIn(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureNotInIsMutable(); notIn_.add(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated bytes not_in = 9; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated bytes not_in = 9; */ public Builder clearNotIn() { notIn_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** *
       * Ip specifies that the field must be a valid IP (v4 or v6) address in
       * byte format
       * 
* * optional bool ip = 10; */ public boolean hasIp() { return wellKnownCase_ == 10; } /** *
       * Ip specifies that the field must be a valid IP (v4 or v6) address in
       * byte format
       * 
* * optional bool ip = 10; */ public boolean getIp() { if (wellKnownCase_ == 10) { return (java.lang.Boolean) wellKnown_; } return false; } /** *
       * Ip specifies that the field must be a valid IP (v4 or v6) address in
       * byte format
       * 
* * optional bool ip = 10; */ public Builder setIp(boolean value) { wellKnownCase_ = 10; wellKnown_ = value; onChanged(); return this; } /** *
       * Ip specifies that the field must be a valid IP (v4 or v6) address in
       * byte format
       * 
* * optional bool ip = 10; */ public Builder clearIp() { if (wellKnownCase_ == 10) { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); } return this; } /** *
       * Ipv4 specifies that the field must be a valid IPv4 address in byte
       * format
       * 
* * optional bool ipv4 = 11; */ public boolean hasIpv4() { return wellKnownCase_ == 11; } /** *
       * Ipv4 specifies that the field must be a valid IPv4 address in byte
       * format
       * 
* * optional bool ipv4 = 11; */ public boolean getIpv4() { if (wellKnownCase_ == 11) { return (java.lang.Boolean) wellKnown_; } return false; } /** *
       * Ipv4 specifies that the field must be a valid IPv4 address in byte
       * format
       * 
* * optional bool ipv4 = 11; */ public Builder setIpv4(boolean value) { wellKnownCase_ = 11; wellKnown_ = value; onChanged(); return this; } /** *
       * Ipv4 specifies that the field must be a valid IPv4 address in byte
       * format
       * 
* * optional bool ipv4 = 11; */ public Builder clearIpv4() { if (wellKnownCase_ == 11) { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); } return this; } /** *
       * Ipv6 specifies that the field must be a valid IPv6 address in byte
       * format
       * 
* * optional bool ipv6 = 12; */ public boolean hasIpv6() { return wellKnownCase_ == 12; } /** *
       * Ipv6 specifies that the field must be a valid IPv6 address in byte
       * format
       * 
* * optional bool ipv6 = 12; */ public boolean getIpv6() { if (wellKnownCase_ == 12) { return (java.lang.Boolean) wellKnown_; } return false; } /** *
       * Ipv6 specifies that the field must be a valid IPv6 address in byte
       * format
       * 
* * optional bool ipv6 = 12; */ public Builder setIpv6(boolean value) { wellKnownCase_ = 12; wellKnown_ = value; onChanged(); return this; } /** *
       * Ipv6 specifies that the field must be a valid IPv6 address in byte
       * format
       * 
* * optional bool ipv6 = 12; */ public Builder clearIpv6() { if (wellKnownCase_ == 12) { wellKnownCase_ = 0; wellKnown_ = null; onChanged(); } return this; } @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:validate.BytesRules) } // @@protoc_insertion_point(class_scope:validate.BytesRules) private static final com.lyft.pgv.validate.Validate.BytesRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.BytesRules(); } public static com.lyft.pgv.validate.Validate.BytesRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BytesRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BytesRules(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.lyft.pgv.validate.Validate.BytesRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EnumRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.EnumRules) com.google.protobuf.MessageOrBuilder { /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int32 const = 1; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int32 const = 1; */ int getConst(); /** *
     * DefinedOnly specifies that this field must be only one of the defined
     * values for this enum, failing on any undefined value.
     * 
* * optional bool defined_only = 2; */ boolean hasDefinedOnly(); /** *
     * DefinedOnly specifies that this field must be only one of the defined
     * values for this enum, failing on any undefined value.
     * 
* * optional bool defined_only = 2; */ boolean getDefinedOnly(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 3; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 3; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 3; */ int getIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 4; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 4; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 4; */ int getNotIn(int index); } /** *
   * EnumRules describe the constraints applied to enum values
   * 
* * Protobuf type {@code validate.EnumRules} */ public static final class EnumRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.EnumRules) EnumRulesOrBuilder { private static final long serialVersionUID = 0L; // Use EnumRules.newBuilder() to construct. private EnumRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EnumRules() { in_ = emptyIntList(); notIn_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EnumRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EnumRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; const_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; definedOnly_ = input.readBool(); break; } case 24: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { in_ = newIntList(); mutable_bitField0_ |= 0x00000004; } in_.addInt(input.readInt32()); break; } case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { in_ = newIntList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { in_.addInt(input.readInt32()); } input.popLimit(limit); break; } case 32: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000008; } notIn_.addInt(input.readInt32()); break; } case 34: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { notIn_ = newIntList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { notIn_.addInt(input.readInt32()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) != 0)) { in_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000008) != 0)) { notIn_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_EnumRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_EnumRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.EnumRules.class, com.lyft.pgv.validate.Validate.EnumRules.Builder.class); } private int bitField0_; public static final int CONST_FIELD_NUMBER = 1; private int const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional int32 const = 1; */ public int getConst() { return const_; } public static final int DEFINED_ONLY_FIELD_NUMBER = 2; private boolean definedOnly_; /** *
     * DefinedOnly specifies that this field must be only one of the defined
     * values for this enum, failing on any undefined value.
     * 
* * optional bool defined_only = 2; */ public boolean hasDefinedOnly() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * DefinedOnly specifies that this field must be only one of the defined
     * values for this enum, failing on any undefined value.
     * 
* * optional bool defined_only = 2; */ public boolean getDefinedOnly() { return definedOnly_; } public static final int IN_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 3; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 3; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated int32 in = 3; */ public int getIn(int index) { return in_.getInt(index); } public static final int NOT_IN_FIELD_NUMBER = 4; private com.google.protobuf.Internal.IntList notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 4; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 4; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated int32 not_in = 4; */ public int getNotIn(int index) { return notIn_.getInt(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, definedOnly_); } for (int i = 0; i < in_.size(); i++) { output.writeInt32(3, in_.getInt(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeInt32(4, notIn_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, const_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, definedOnly_); } { int dataSize = 0; for (int i = 0; i < in_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(in_.getInt(i)); } size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; for (int i = 0; i < notIn_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(notIn_.getInt(i)); } size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.EnumRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.EnumRules other = (com.lyft.pgv.validate.Validate.EnumRules) obj; if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (getConst() != other.getConst()) return false; } if (hasDefinedOnly() != other.hasDefinedOnly()) return false; if (hasDefinedOnly()) { if (getDefinedOnly() != other.getDefinedOnly()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + getConst(); } if (hasDefinedOnly()) { hash = (37 * hash) + DEFINED_ONLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDefinedOnly()); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.EnumRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.EnumRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.EnumRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.EnumRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.EnumRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.EnumRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.EnumRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.EnumRules 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.lyft.pgv.validate.Validate.EnumRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.EnumRules 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.lyft.pgv.validate.Validate.EnumRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.EnumRules 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.lyft.pgv.validate.Validate.EnumRules 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; } /** *
     * EnumRules describe the constraints applied to enum values
     * 
* * Protobuf type {@code validate.EnumRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.EnumRules) com.lyft.pgv.validate.Validate.EnumRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_EnumRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_EnumRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.EnumRules.class, com.lyft.pgv.validate.Validate.EnumRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.EnumRules.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(); const_ = 0; bitField0_ = (bitField0_ & ~0x00000001); definedOnly_ = false; bitField0_ = (bitField0_ & ~0x00000002); in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_EnumRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.EnumRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.EnumRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.EnumRules build() { com.lyft.pgv.validate.Validate.EnumRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.EnumRules buildPartial() { com.lyft.pgv.validate.Validate.EnumRules result = new com.lyft.pgv.validate.Validate.EnumRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.const_ = const_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.definedOnly_ = definedOnly_; to_bitField0_ |= 0x00000002; } if (((bitField0_ & 0x00000004) != 0)) { in_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000004); } result.in_ = in_; if (((bitField0_ & 0x00000008) != 0)) { notIn_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.EnumRules) { return mergeFrom((com.lyft.pgv.validate.Validate.EnumRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.EnumRules other) { if (other == com.lyft.pgv.validate.Validate.EnumRules.getDefaultInstance()) return this; if (other.hasConst()) { setConst(other.getConst()); } if (other.hasDefinedOnly()) { setDefinedOnly(other.getDefinedOnly()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.EnumRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.EnumRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int const_ ; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int32 const = 1; */ public boolean hasConst() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int32 const = 1; */ public int getConst() { return const_; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int32 const = 1; */ public Builder setConst(int value) { bitField0_ |= 0x00000001; const_ = value; onChanged(); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional int32 const = 1; */ public Builder clearConst() { bitField0_ = (bitField0_ & ~0x00000001); const_ = 0; onChanged(); return this; } private boolean definedOnly_ ; /** *
       * DefinedOnly specifies that this field must be only one of the defined
       * values for this enum, failing on any undefined value.
       * 
* * optional bool defined_only = 2; */ public boolean hasDefinedOnly() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * DefinedOnly specifies that this field must be only one of the defined
       * values for this enum, failing on any undefined value.
       * 
* * optional bool defined_only = 2; */ public boolean getDefinedOnly() { return definedOnly_; } /** *
       * DefinedOnly specifies that this field must be only one of the defined
       * values for this enum, failing on any undefined value.
       * 
* * optional bool defined_only = 2; */ public Builder setDefinedOnly(boolean value) { bitField0_ |= 0x00000002; definedOnly_ = value; onChanged(); return this; } /** *
       * DefinedOnly specifies that this field must be only one of the defined
       * values for this enum, failing on any undefined value.
       * 
* * optional bool defined_only = 2; */ public Builder clearDefinedOnly() { bitField0_ = (bitField0_ & ~0x00000002); definedOnly_ = false; onChanged(); return this; } private com.google.protobuf.Internal.IntList in_ = emptyIntList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { in_ = mutableCopy(in_); bitField0_ |= 0x00000004; } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 3; */ public java.util.List getInList() { return ((bitField0_ & 0x00000004) != 0) ? java.util.Collections.unmodifiableList(in_) : in_; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 3; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 3; */ public int getIn(int index) { return in_.getInt(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 3; */ public Builder setIn( int index, int value) { ensureInIsMutable(); in_.setInt(index, value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 3; */ public Builder addIn(int value) { ensureInIsMutable(); in_.addInt(value); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 3; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated int32 in = 3; */ public Builder clearIn() { in_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } private com.google.protobuf.Internal.IntList notIn_ = emptyIntList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { notIn_ = mutableCopy(notIn_); bitField0_ |= 0x00000008; } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 4; */ public java.util.List getNotInList() { return ((bitField0_ & 0x00000008) != 0) ? java.util.Collections.unmodifiableList(notIn_) : notIn_; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 4; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 4; */ public int getNotIn(int index) { return notIn_.getInt(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 4; */ public Builder setNotIn( int index, int value) { ensureNotInIsMutable(); notIn_.setInt(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 4; */ public Builder addNotIn(int value) { ensureNotInIsMutable(); notIn_.addInt(value); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 4; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated int32 not_in = 4; */ public Builder clearNotIn() { notIn_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @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:validate.EnumRules) } // @@protoc_insertion_point(class_scope:validate.EnumRules) private static final com.lyft.pgv.validate.Validate.EnumRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.EnumRules(); } public static com.lyft.pgv.validate.Validate.EnumRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EnumRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EnumRules(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.lyft.pgv.validate.Validate.EnumRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MessageRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.MessageRules) com.google.protobuf.MessageOrBuilder { /** *
     * Skip specifies that the validation rules of this field should not be
     * evaluated
     * 
* * optional bool skip = 1; */ boolean hasSkip(); /** *
     * Skip specifies that the validation rules of this field should not be
     * evaluated
     * 
* * optional bool skip = 1; */ boolean getSkip(); /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 2; */ boolean hasRequired(); /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 2; */ boolean getRequired(); } /** *
   * MessageRules describe the constraints applied to embedded message values.
   * For message-type fields, validation is performed recursively.
   * 
* * Protobuf type {@code validate.MessageRules} */ public static final class MessageRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.MessageRules) MessageRulesOrBuilder { private static final long serialVersionUID = 0L; // Use MessageRules.newBuilder() to construct. private MessageRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MessageRules() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MessageRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MessageRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; skip_ = input.readBool(); break; } case 16: { bitField0_ |= 0x00000002; required_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.lyft.pgv.validate.Validate.internal_static_validate_MessageRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_MessageRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.MessageRules.class, com.lyft.pgv.validate.Validate.MessageRules.Builder.class); } private int bitField0_; public static final int SKIP_FIELD_NUMBER = 1; private boolean skip_; /** *
     * Skip specifies that the validation rules of this field should not be
     * evaluated
     * 
* * optional bool skip = 1; */ public boolean hasSkip() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Skip specifies that the validation rules of this field should not be
     * evaluated
     * 
* * optional bool skip = 1; */ public boolean getSkip() { return skip_; } public static final int REQUIRED_FIELD_NUMBER = 2; private boolean required_; /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 2; */ public boolean hasRequired() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 2; */ public boolean getRequired() { return required_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, skip_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, required_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, skip_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, required_); } 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.lyft.pgv.validate.Validate.MessageRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.MessageRules other = (com.lyft.pgv.validate.Validate.MessageRules) obj; if (hasSkip() != other.hasSkip()) return false; if (hasSkip()) { if (getSkip() != other.getSkip()) return false; } if (hasRequired() != other.hasRequired()) return false; if (hasRequired()) { if (getRequired() != other.getRequired()) 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(); if (hasSkip()) { hash = (37 * hash) + SKIP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSkip()); } if (hasRequired()) { hash = (37 * hash) + REQUIRED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRequired()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.MessageRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.MessageRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.MessageRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.MessageRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.MessageRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.MessageRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.MessageRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.MessageRules 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.lyft.pgv.validate.Validate.MessageRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.MessageRules 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.lyft.pgv.validate.Validate.MessageRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.MessageRules 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.lyft.pgv.validate.Validate.MessageRules 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; } /** *
     * MessageRules describe the constraints applied to embedded message values.
     * For message-type fields, validation is performed recursively.
     * 
* * Protobuf type {@code validate.MessageRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.MessageRules) com.lyft.pgv.validate.Validate.MessageRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_MessageRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_MessageRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.MessageRules.class, com.lyft.pgv.validate.Validate.MessageRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.MessageRules.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(); skip_ = false; bitField0_ = (bitField0_ & ~0x00000001); required_ = false; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_MessageRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.MessageRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.MessageRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.MessageRules build() { com.lyft.pgv.validate.Validate.MessageRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.MessageRules buildPartial() { com.lyft.pgv.validate.Validate.MessageRules result = new com.lyft.pgv.validate.Validate.MessageRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.skip_ = skip_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.required_ = required_; to_bitField0_ |= 0x00000002; } result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.MessageRules) { return mergeFrom((com.lyft.pgv.validate.Validate.MessageRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.MessageRules other) { if (other == com.lyft.pgv.validate.Validate.MessageRules.getDefaultInstance()) return this; if (other.hasSkip()) { setSkip(other.getSkip()); } if (other.hasRequired()) { setRequired(other.getRequired()); } 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.lyft.pgv.validate.Validate.MessageRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.MessageRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean skip_ ; /** *
       * Skip specifies that the validation rules of this field should not be
       * evaluated
       * 
* * optional bool skip = 1; */ public boolean hasSkip() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Skip specifies that the validation rules of this field should not be
       * evaluated
       * 
* * optional bool skip = 1; */ public boolean getSkip() { return skip_; } /** *
       * Skip specifies that the validation rules of this field should not be
       * evaluated
       * 
* * optional bool skip = 1; */ public Builder setSkip(boolean value) { bitField0_ |= 0x00000001; skip_ = value; onChanged(); return this; } /** *
       * Skip specifies that the validation rules of this field should not be
       * evaluated
       * 
* * optional bool skip = 1; */ public Builder clearSkip() { bitField0_ = (bitField0_ & ~0x00000001); skip_ = false; onChanged(); return this; } private boolean required_ ; /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 2; */ public boolean hasRequired() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 2; */ public boolean getRequired() { return required_; } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 2; */ public Builder setRequired(boolean value) { bitField0_ |= 0x00000002; required_ = value; onChanged(); return this; } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 2; */ public Builder clearRequired() { bitField0_ = (bitField0_ & ~0x00000002); required_ = false; onChanged(); return this; } @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:validate.MessageRules) } // @@protoc_insertion_point(class_scope:validate.MessageRules) private static final com.lyft.pgv.validate.Validate.MessageRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.MessageRules(); } public static com.lyft.pgv.validate.Validate.MessageRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MessageRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MessageRules(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.lyft.pgv.validate.Validate.MessageRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RepeatedRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.RepeatedRules) com.google.protobuf.MessageOrBuilder { /** *
     * MinItems specifies that this field must have the specified number of
     * items at a minimum
     * 
* * optional uint64 min_items = 1; */ boolean hasMinItems(); /** *
     * MinItems specifies that this field must have the specified number of
     * items at a minimum
     * 
* * optional uint64 min_items = 1; */ long getMinItems(); /** *
     * MaxItems specifies that this field must have the specified number of
     * items at a maximum
     * 
* * optional uint64 max_items = 2; */ boolean hasMaxItems(); /** *
     * MaxItems specifies that this field must have the specified number of
     * items at a maximum
     * 
* * optional uint64 max_items = 2; */ long getMaxItems(); /** *
     * Unique specifies that all elements in this field must be unique. This
     * contraint is only applicable to scalar and enum types (messages are not
     * supported).
     * 
* * optional bool unique = 3; */ boolean hasUnique(); /** *
     * Unique specifies that all elements in this field must be unique. This
     * contraint is only applicable to scalar and enum types (messages are not
     * supported).
     * 
* * optional bool unique = 3; */ boolean getUnique(); /** *
     * Items specifies the contraints to be applied to each item in the field.
     * Repeated message fields will still execute validation against each item
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules items = 4; */ boolean hasItems(); /** *
     * Items specifies the contraints to be applied to each item in the field.
     * Repeated message fields will still execute validation against each item
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules items = 4; */ com.lyft.pgv.validate.Validate.FieldRules getItems(); /** *
     * Items specifies the contraints to be applied to each item in the field.
     * Repeated message fields will still execute validation against each item
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules items = 4; */ com.lyft.pgv.validate.Validate.FieldRulesOrBuilder getItemsOrBuilder(); } /** *
   * RepeatedRules describe the constraints applied to `repeated` values
   * 
* * Protobuf type {@code validate.RepeatedRules} */ public static final class RepeatedRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.RepeatedRules) RepeatedRulesOrBuilder { private static final long serialVersionUID = 0L; // Use RepeatedRules.newBuilder() to construct. private RepeatedRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RepeatedRules() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RepeatedRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RepeatedRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; minItems_ = input.readUInt64(); break; } case 16: { bitField0_ |= 0x00000002; maxItems_ = input.readUInt64(); break; } case 24: { bitField0_ |= 0x00000004; unique_ = input.readBool(); break; } case 34: { com.lyft.pgv.validate.Validate.FieldRules.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = items_.toBuilder(); } items_ = input.readMessage(com.lyft.pgv.validate.Validate.FieldRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(items_); items_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.lyft.pgv.validate.Validate.internal_static_validate_RepeatedRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_RepeatedRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.RepeatedRules.class, com.lyft.pgv.validate.Validate.RepeatedRules.Builder.class); } private int bitField0_; public static final int MIN_ITEMS_FIELD_NUMBER = 1; private long minItems_; /** *
     * MinItems specifies that this field must have the specified number of
     * items at a minimum
     * 
* * optional uint64 min_items = 1; */ public boolean hasMinItems() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * MinItems specifies that this field must have the specified number of
     * items at a minimum
     * 
* * optional uint64 min_items = 1; */ public long getMinItems() { return minItems_; } public static final int MAX_ITEMS_FIELD_NUMBER = 2; private long maxItems_; /** *
     * MaxItems specifies that this field must have the specified number of
     * items at a maximum
     * 
* * optional uint64 max_items = 2; */ public boolean hasMaxItems() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * MaxItems specifies that this field must have the specified number of
     * items at a maximum
     * 
* * optional uint64 max_items = 2; */ public long getMaxItems() { return maxItems_; } public static final int UNIQUE_FIELD_NUMBER = 3; private boolean unique_; /** *
     * Unique specifies that all elements in this field must be unique. This
     * contraint is only applicable to scalar and enum types (messages are not
     * supported).
     * 
* * optional bool unique = 3; */ public boolean hasUnique() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Unique specifies that all elements in this field must be unique. This
     * contraint is only applicable to scalar and enum types (messages are not
     * supported).
     * 
* * optional bool unique = 3; */ public boolean getUnique() { return unique_; } public static final int ITEMS_FIELD_NUMBER = 4; private com.lyft.pgv.validate.Validate.FieldRules items_; /** *
     * Items specifies the contraints to be applied to each item in the field.
     * Repeated message fields will still execute validation against each item
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules items = 4; */ public boolean hasItems() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Items specifies the contraints to be applied to each item in the field.
     * Repeated message fields will still execute validation against each item
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules items = 4; */ public com.lyft.pgv.validate.Validate.FieldRules getItems() { return items_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : items_; } /** *
     * Items specifies the contraints to be applied to each item in the field.
     * Repeated message fields will still execute validation against each item
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules items = 4; */ public com.lyft.pgv.validate.Validate.FieldRulesOrBuilder getItemsOrBuilder() { return items_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : items_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeUInt64(1, minItems_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt64(2, maxItems_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, unique_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getItems()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, minItems_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, maxItems_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, unique_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getItems()); } 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.lyft.pgv.validate.Validate.RepeatedRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.RepeatedRules other = (com.lyft.pgv.validate.Validate.RepeatedRules) obj; if (hasMinItems() != other.hasMinItems()) return false; if (hasMinItems()) { if (getMinItems() != other.getMinItems()) return false; } if (hasMaxItems() != other.hasMaxItems()) return false; if (hasMaxItems()) { if (getMaxItems() != other.getMaxItems()) return false; } if (hasUnique() != other.hasUnique()) return false; if (hasUnique()) { if (getUnique() != other.getUnique()) return false; } if (hasItems() != other.hasItems()) return false; if (hasItems()) { if (!getItems() .equals(other.getItems())) 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(); if (hasMinItems()) { hash = (37 * hash) + MIN_ITEMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinItems()); } if (hasMaxItems()) { hash = (37 * hash) + MAX_ITEMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxItems()); } if (hasUnique()) { hash = (37 * hash) + UNIQUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUnique()); } if (hasItems()) { hash = (37 * hash) + ITEMS_FIELD_NUMBER; hash = (53 * hash) + getItems().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.RepeatedRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.RepeatedRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.RepeatedRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.RepeatedRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.RepeatedRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.RepeatedRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.RepeatedRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.RepeatedRules 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.lyft.pgv.validate.Validate.RepeatedRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.RepeatedRules 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.lyft.pgv.validate.Validate.RepeatedRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.RepeatedRules 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.lyft.pgv.validate.Validate.RepeatedRules 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; } /** *
     * RepeatedRules describe the constraints applied to `repeated` values
     * 
* * Protobuf type {@code validate.RepeatedRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.RepeatedRules) com.lyft.pgv.validate.Validate.RepeatedRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_RepeatedRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_RepeatedRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.RepeatedRules.class, com.lyft.pgv.validate.Validate.RepeatedRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.RepeatedRules.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); minItems_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); maxItems_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); unique_ = false; bitField0_ = (bitField0_ & ~0x00000004); if (itemsBuilder_ == null) { items_ = null; } else { itemsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_RepeatedRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.RepeatedRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.RepeatedRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.RepeatedRules build() { com.lyft.pgv.validate.Validate.RepeatedRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.RepeatedRules buildPartial() { com.lyft.pgv.validate.Validate.RepeatedRules result = new com.lyft.pgv.validate.Validate.RepeatedRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.minItems_ = minItems_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.maxItems_ = maxItems_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.unique_ = unique_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (itemsBuilder_ == null) { result.items_ = items_; } else { result.items_ = itemsBuilder_.build(); } to_bitField0_ |= 0x00000008; } result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.RepeatedRules) { return mergeFrom((com.lyft.pgv.validate.Validate.RepeatedRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.RepeatedRules other) { if (other == com.lyft.pgv.validate.Validate.RepeatedRules.getDefaultInstance()) return this; if (other.hasMinItems()) { setMinItems(other.getMinItems()); } if (other.hasMaxItems()) { setMaxItems(other.getMaxItems()); } if (other.hasUnique()) { setUnique(other.getUnique()); } if (other.hasItems()) { mergeItems(other.getItems()); } 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.lyft.pgv.validate.Validate.RepeatedRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.RepeatedRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long minItems_ ; /** *
       * MinItems specifies that this field must have the specified number of
       * items at a minimum
       * 
* * optional uint64 min_items = 1; */ public boolean hasMinItems() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * MinItems specifies that this field must have the specified number of
       * items at a minimum
       * 
* * optional uint64 min_items = 1; */ public long getMinItems() { return minItems_; } /** *
       * MinItems specifies that this field must have the specified number of
       * items at a minimum
       * 
* * optional uint64 min_items = 1; */ public Builder setMinItems(long value) { bitField0_ |= 0x00000001; minItems_ = value; onChanged(); return this; } /** *
       * MinItems specifies that this field must have the specified number of
       * items at a minimum
       * 
* * optional uint64 min_items = 1; */ public Builder clearMinItems() { bitField0_ = (bitField0_ & ~0x00000001); minItems_ = 0L; onChanged(); return this; } private long maxItems_ ; /** *
       * MaxItems specifies that this field must have the specified number of
       * items at a maximum
       * 
* * optional uint64 max_items = 2; */ public boolean hasMaxItems() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * MaxItems specifies that this field must have the specified number of
       * items at a maximum
       * 
* * optional uint64 max_items = 2; */ public long getMaxItems() { return maxItems_; } /** *
       * MaxItems specifies that this field must have the specified number of
       * items at a maximum
       * 
* * optional uint64 max_items = 2; */ public Builder setMaxItems(long value) { bitField0_ |= 0x00000002; maxItems_ = value; onChanged(); return this; } /** *
       * MaxItems specifies that this field must have the specified number of
       * items at a maximum
       * 
* * optional uint64 max_items = 2; */ public Builder clearMaxItems() { bitField0_ = (bitField0_ & ~0x00000002); maxItems_ = 0L; onChanged(); return this; } private boolean unique_ ; /** *
       * Unique specifies that all elements in this field must be unique. This
       * contraint is only applicable to scalar and enum types (messages are not
       * supported).
       * 
* * optional bool unique = 3; */ public boolean hasUnique() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Unique specifies that all elements in this field must be unique. This
       * contraint is only applicable to scalar and enum types (messages are not
       * supported).
       * 
* * optional bool unique = 3; */ public boolean getUnique() { return unique_; } /** *
       * Unique specifies that all elements in this field must be unique. This
       * contraint is only applicable to scalar and enum types (messages are not
       * supported).
       * 
* * optional bool unique = 3; */ public Builder setUnique(boolean value) { bitField0_ |= 0x00000004; unique_ = value; onChanged(); return this; } /** *
       * Unique specifies that all elements in this field must be unique. This
       * contraint is only applicable to scalar and enum types (messages are not
       * supported).
       * 
* * optional bool unique = 3; */ public Builder clearUnique() { bitField0_ = (bitField0_ & ~0x00000004); unique_ = false; onChanged(); return this; } private com.lyft.pgv.validate.Validate.FieldRules items_; private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FieldRules, com.lyft.pgv.validate.Validate.FieldRules.Builder, com.lyft.pgv.validate.Validate.FieldRulesOrBuilder> itemsBuilder_; /** *
       * Items specifies the contraints to be applied to each item in the field.
       * Repeated message fields will still execute validation against each item
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules items = 4; */ public boolean hasItems() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Items specifies the contraints to be applied to each item in the field.
       * Repeated message fields will still execute validation against each item
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules items = 4; */ public com.lyft.pgv.validate.Validate.FieldRules getItems() { if (itemsBuilder_ == null) { return items_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : items_; } else { return itemsBuilder_.getMessage(); } } /** *
       * Items specifies the contraints to be applied to each item in the field.
       * Repeated message fields will still execute validation against each item
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules items = 4; */ public Builder setItems(com.lyft.pgv.validate.Validate.FieldRules value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } items_ = value; onChanged(); } else { itemsBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** *
       * Items specifies the contraints to be applied to each item in the field.
       * Repeated message fields will still execute validation against each item
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules items = 4; */ public Builder setItems( com.lyft.pgv.validate.Validate.FieldRules.Builder builderForValue) { if (itemsBuilder_ == null) { items_ = builderForValue.build(); onChanged(); } else { itemsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
       * Items specifies the contraints to be applied to each item in the field.
       * Repeated message fields will still execute validation against each item
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules items = 4; */ public Builder mergeItems(com.lyft.pgv.validate.Validate.FieldRules value) { if (itemsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && items_ != null && items_ != com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance()) { items_ = com.lyft.pgv.validate.Validate.FieldRules.newBuilder(items_).mergeFrom(value).buildPartial(); } else { items_ = value; } onChanged(); } else { itemsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** *
       * Items specifies the contraints to be applied to each item in the field.
       * Repeated message fields will still execute validation against each item
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules items = 4; */ public Builder clearItems() { if (itemsBuilder_ == null) { items_ = null; onChanged(); } else { itemsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
       * Items specifies the contraints to be applied to each item in the field.
       * Repeated message fields will still execute validation against each item
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules items = 4; */ public com.lyft.pgv.validate.Validate.FieldRules.Builder getItemsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getItemsFieldBuilder().getBuilder(); } /** *
       * Items specifies the contraints to be applied to each item in the field.
       * Repeated message fields will still execute validation against each item
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules items = 4; */ public com.lyft.pgv.validate.Validate.FieldRulesOrBuilder getItemsOrBuilder() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilder(); } else { return items_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : items_; } } /** *
       * Items specifies the contraints to be applied to each item in the field.
       * Repeated message fields will still execute validation against each item
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules items = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FieldRules, com.lyft.pgv.validate.Validate.FieldRules.Builder, com.lyft.pgv.validate.Validate.FieldRulesOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FieldRules, com.lyft.pgv.validate.Validate.FieldRules.Builder, com.lyft.pgv.validate.Validate.FieldRulesOrBuilder>( getItems(), getParentForChildren(), isClean()); items_ = null; } return itemsBuilder_; } @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:validate.RepeatedRules) } // @@protoc_insertion_point(class_scope:validate.RepeatedRules) private static final com.lyft.pgv.validate.Validate.RepeatedRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.RepeatedRules(); } public static com.lyft.pgv.validate.Validate.RepeatedRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RepeatedRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RepeatedRules(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.lyft.pgv.validate.Validate.RepeatedRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MapRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.MapRules) com.google.protobuf.MessageOrBuilder { /** *
     * MinPairs specifies that this field must have the specified number of
     * KVs at a minimum
     * 
* * optional uint64 min_pairs = 1; */ boolean hasMinPairs(); /** *
     * MinPairs specifies that this field must have the specified number of
     * KVs at a minimum
     * 
* * optional uint64 min_pairs = 1; */ long getMinPairs(); /** *
     * MaxPairs specifies that this field must have the specified number of
     * KVs at a maximum
     * 
* * optional uint64 max_pairs = 2; */ boolean hasMaxPairs(); /** *
     * MaxPairs specifies that this field must have the specified number of
     * KVs at a maximum
     * 
* * optional uint64 max_pairs = 2; */ long getMaxPairs(); /** *
     * NoSparse specifies values in this field cannot be unset. This only
     * applies to map's with message value types.
     * 
* * optional bool no_sparse = 3; */ boolean hasNoSparse(); /** *
     * NoSparse specifies values in this field cannot be unset. This only
     * applies to map's with message value types.
     * 
* * optional bool no_sparse = 3; */ boolean getNoSparse(); /** *
     * Keys specifies the constraints to be applied to each key in the field.
     * 
* * optional .validate.FieldRules keys = 4; */ boolean hasKeys(); /** *
     * Keys specifies the constraints to be applied to each key in the field.
     * 
* * optional .validate.FieldRules keys = 4; */ com.lyft.pgv.validate.Validate.FieldRules getKeys(); /** *
     * Keys specifies the constraints to be applied to each key in the field.
     * 
* * optional .validate.FieldRules keys = 4; */ com.lyft.pgv.validate.Validate.FieldRulesOrBuilder getKeysOrBuilder(); /** *
     * Values specifies the constraints to be applied to the value of each key
     * in the field. Message values will still have their validations evaluated
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules values = 5; */ boolean hasValues(); /** *
     * Values specifies the constraints to be applied to the value of each key
     * in the field. Message values will still have their validations evaluated
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules values = 5; */ com.lyft.pgv.validate.Validate.FieldRules getValues(); /** *
     * Values specifies the constraints to be applied to the value of each key
     * in the field. Message values will still have their validations evaluated
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules values = 5; */ com.lyft.pgv.validate.Validate.FieldRulesOrBuilder getValuesOrBuilder(); } /** *
   * MapRules describe the constraints applied to `map` values
   * 
* * Protobuf type {@code validate.MapRules} */ public static final class MapRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.MapRules) MapRulesOrBuilder { private static final long serialVersionUID = 0L; // Use MapRules.newBuilder() to construct. private MapRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MapRules() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MapRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MapRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; minPairs_ = input.readUInt64(); break; } case 16: { bitField0_ |= 0x00000002; maxPairs_ = input.readUInt64(); break; } case 24: { bitField0_ |= 0x00000004; noSparse_ = input.readBool(); break; } case 34: { com.lyft.pgv.validate.Validate.FieldRules.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = keys_.toBuilder(); } keys_ = input.readMessage(com.lyft.pgv.validate.Validate.FieldRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(keys_); keys_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { com.lyft.pgv.validate.Validate.FieldRules.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = values_.toBuilder(); } values_ = input.readMessage(com.lyft.pgv.validate.Validate.FieldRules.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(values_); values_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.lyft.pgv.validate.Validate.internal_static_validate_MapRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_MapRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.MapRules.class, com.lyft.pgv.validate.Validate.MapRules.Builder.class); } private int bitField0_; public static final int MIN_PAIRS_FIELD_NUMBER = 1; private long minPairs_; /** *
     * MinPairs specifies that this field must have the specified number of
     * KVs at a minimum
     * 
* * optional uint64 min_pairs = 1; */ public boolean hasMinPairs() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * MinPairs specifies that this field must have the specified number of
     * KVs at a minimum
     * 
* * optional uint64 min_pairs = 1; */ public long getMinPairs() { return minPairs_; } public static final int MAX_PAIRS_FIELD_NUMBER = 2; private long maxPairs_; /** *
     * MaxPairs specifies that this field must have the specified number of
     * KVs at a maximum
     * 
* * optional uint64 max_pairs = 2; */ public boolean hasMaxPairs() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * MaxPairs specifies that this field must have the specified number of
     * KVs at a maximum
     * 
* * optional uint64 max_pairs = 2; */ public long getMaxPairs() { return maxPairs_; } public static final int NO_SPARSE_FIELD_NUMBER = 3; private boolean noSparse_; /** *
     * NoSparse specifies values in this field cannot be unset. This only
     * applies to map's with message value types.
     * 
* * optional bool no_sparse = 3; */ public boolean hasNoSparse() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * NoSparse specifies values in this field cannot be unset. This only
     * applies to map's with message value types.
     * 
* * optional bool no_sparse = 3; */ public boolean getNoSparse() { return noSparse_; } public static final int KEYS_FIELD_NUMBER = 4; private com.lyft.pgv.validate.Validate.FieldRules keys_; /** *
     * Keys specifies the constraints to be applied to each key in the field.
     * 
* * optional .validate.FieldRules keys = 4; */ public boolean hasKeys() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Keys specifies the constraints to be applied to each key in the field.
     * 
* * optional .validate.FieldRules keys = 4; */ public com.lyft.pgv.validate.Validate.FieldRules getKeys() { return keys_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : keys_; } /** *
     * Keys specifies the constraints to be applied to each key in the field.
     * 
* * optional .validate.FieldRules keys = 4; */ public com.lyft.pgv.validate.Validate.FieldRulesOrBuilder getKeysOrBuilder() { return keys_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : keys_; } public static final int VALUES_FIELD_NUMBER = 5; private com.lyft.pgv.validate.Validate.FieldRules values_; /** *
     * Values specifies the constraints to be applied to the value of each key
     * in the field. Message values will still have their validations evaluated
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules values = 5; */ public boolean hasValues() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Values specifies the constraints to be applied to the value of each key
     * in the field. Message values will still have their validations evaluated
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules values = 5; */ public com.lyft.pgv.validate.Validate.FieldRules getValues() { return values_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : values_; } /** *
     * Values specifies the constraints to be applied to the value of each key
     * in the field. Message values will still have their validations evaluated
     * unless skip is specified here.
     * 
* * optional .validate.FieldRules values = 5; */ public com.lyft.pgv.validate.Validate.FieldRulesOrBuilder getValuesOrBuilder() { return values_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : values_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeUInt64(1, minPairs_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt64(2, maxPairs_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, noSparse_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getKeys()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getValues()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, minPairs_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, maxPairs_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, noSparse_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getKeys()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getValues()); } 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.lyft.pgv.validate.Validate.MapRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.MapRules other = (com.lyft.pgv.validate.Validate.MapRules) obj; if (hasMinPairs() != other.hasMinPairs()) return false; if (hasMinPairs()) { if (getMinPairs() != other.getMinPairs()) return false; } if (hasMaxPairs() != other.hasMaxPairs()) return false; if (hasMaxPairs()) { if (getMaxPairs() != other.getMaxPairs()) return false; } if (hasNoSparse() != other.hasNoSparse()) return false; if (hasNoSparse()) { if (getNoSparse() != other.getNoSparse()) return false; } if (hasKeys() != other.hasKeys()) return false; if (hasKeys()) { if (!getKeys() .equals(other.getKeys())) return false; } if (hasValues() != other.hasValues()) return false; if (hasValues()) { if (!getValues() .equals(other.getValues())) 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(); if (hasMinPairs()) { hash = (37 * hash) + MIN_PAIRS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinPairs()); } if (hasMaxPairs()) { hash = (37 * hash) + MAX_PAIRS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxPairs()); } if (hasNoSparse()) { hash = (37 * hash) + NO_SPARSE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNoSparse()); } if (hasKeys()) { hash = (37 * hash) + KEYS_FIELD_NUMBER; hash = (53 * hash) + getKeys().hashCode(); } if (hasValues()) { hash = (37 * hash) + VALUES_FIELD_NUMBER; hash = (53 * hash) + getValues().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.MapRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.MapRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.MapRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.MapRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.MapRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.MapRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.MapRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.MapRules 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.lyft.pgv.validate.Validate.MapRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.MapRules 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.lyft.pgv.validate.Validate.MapRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.MapRules 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.lyft.pgv.validate.Validate.MapRules 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; } /** *
     * MapRules describe the constraints applied to `map` values
     * 
* * Protobuf type {@code validate.MapRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.MapRules) com.lyft.pgv.validate.Validate.MapRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_MapRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_MapRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.MapRules.class, com.lyft.pgv.validate.Validate.MapRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.MapRules.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getKeysFieldBuilder(); getValuesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); minPairs_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); maxPairs_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); noSparse_ = false; bitField0_ = (bitField0_ & ~0x00000004); if (keysBuilder_ == null) { keys_ = null; } else { keysBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (valuesBuilder_ == null) { values_ = null; } else { valuesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_MapRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.MapRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.MapRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.MapRules build() { com.lyft.pgv.validate.Validate.MapRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.MapRules buildPartial() { com.lyft.pgv.validate.Validate.MapRules result = new com.lyft.pgv.validate.Validate.MapRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.minPairs_ = minPairs_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.maxPairs_ = maxPairs_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.noSparse_ = noSparse_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (keysBuilder_ == null) { result.keys_ = keys_; } else { result.keys_ = keysBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { if (valuesBuilder_ == null) { result.values_ = values_; } else { result.values_ = valuesBuilder_.build(); } to_bitField0_ |= 0x00000010; } result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.MapRules) { return mergeFrom((com.lyft.pgv.validate.Validate.MapRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.MapRules other) { if (other == com.lyft.pgv.validate.Validate.MapRules.getDefaultInstance()) return this; if (other.hasMinPairs()) { setMinPairs(other.getMinPairs()); } if (other.hasMaxPairs()) { setMaxPairs(other.getMaxPairs()); } if (other.hasNoSparse()) { setNoSparse(other.getNoSparse()); } if (other.hasKeys()) { mergeKeys(other.getKeys()); } if (other.hasValues()) { mergeValues(other.getValues()); } 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.lyft.pgv.validate.Validate.MapRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.MapRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long minPairs_ ; /** *
       * MinPairs specifies that this field must have the specified number of
       * KVs at a minimum
       * 
* * optional uint64 min_pairs = 1; */ public boolean hasMinPairs() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * MinPairs specifies that this field must have the specified number of
       * KVs at a minimum
       * 
* * optional uint64 min_pairs = 1; */ public long getMinPairs() { return minPairs_; } /** *
       * MinPairs specifies that this field must have the specified number of
       * KVs at a minimum
       * 
* * optional uint64 min_pairs = 1; */ public Builder setMinPairs(long value) { bitField0_ |= 0x00000001; minPairs_ = value; onChanged(); return this; } /** *
       * MinPairs specifies that this field must have the specified number of
       * KVs at a minimum
       * 
* * optional uint64 min_pairs = 1; */ public Builder clearMinPairs() { bitField0_ = (bitField0_ & ~0x00000001); minPairs_ = 0L; onChanged(); return this; } private long maxPairs_ ; /** *
       * MaxPairs specifies that this field must have the specified number of
       * KVs at a maximum
       * 
* * optional uint64 max_pairs = 2; */ public boolean hasMaxPairs() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * MaxPairs specifies that this field must have the specified number of
       * KVs at a maximum
       * 
* * optional uint64 max_pairs = 2; */ public long getMaxPairs() { return maxPairs_; } /** *
       * MaxPairs specifies that this field must have the specified number of
       * KVs at a maximum
       * 
* * optional uint64 max_pairs = 2; */ public Builder setMaxPairs(long value) { bitField0_ |= 0x00000002; maxPairs_ = value; onChanged(); return this; } /** *
       * MaxPairs specifies that this field must have the specified number of
       * KVs at a maximum
       * 
* * optional uint64 max_pairs = 2; */ public Builder clearMaxPairs() { bitField0_ = (bitField0_ & ~0x00000002); maxPairs_ = 0L; onChanged(); return this; } private boolean noSparse_ ; /** *
       * NoSparse specifies values in this field cannot be unset. This only
       * applies to map's with message value types.
       * 
* * optional bool no_sparse = 3; */ public boolean hasNoSparse() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * NoSparse specifies values in this field cannot be unset. This only
       * applies to map's with message value types.
       * 
* * optional bool no_sparse = 3; */ public boolean getNoSparse() { return noSparse_; } /** *
       * NoSparse specifies values in this field cannot be unset. This only
       * applies to map's with message value types.
       * 
* * optional bool no_sparse = 3; */ public Builder setNoSparse(boolean value) { bitField0_ |= 0x00000004; noSparse_ = value; onChanged(); return this; } /** *
       * NoSparse specifies values in this field cannot be unset. This only
       * applies to map's with message value types.
       * 
* * optional bool no_sparse = 3; */ public Builder clearNoSparse() { bitField0_ = (bitField0_ & ~0x00000004); noSparse_ = false; onChanged(); return this; } private com.lyft.pgv.validate.Validate.FieldRules keys_; private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FieldRules, com.lyft.pgv.validate.Validate.FieldRules.Builder, com.lyft.pgv.validate.Validate.FieldRulesOrBuilder> keysBuilder_; /** *
       * Keys specifies the constraints to be applied to each key in the field.
       * 
* * optional .validate.FieldRules keys = 4; */ public boolean hasKeys() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Keys specifies the constraints to be applied to each key in the field.
       * 
* * optional .validate.FieldRules keys = 4; */ public com.lyft.pgv.validate.Validate.FieldRules getKeys() { if (keysBuilder_ == null) { return keys_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : keys_; } else { return keysBuilder_.getMessage(); } } /** *
       * Keys specifies the constraints to be applied to each key in the field.
       * 
* * optional .validate.FieldRules keys = 4; */ public Builder setKeys(com.lyft.pgv.validate.Validate.FieldRules value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keys_ = value; onChanged(); } else { keysBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** *
       * Keys specifies the constraints to be applied to each key in the field.
       * 
* * optional .validate.FieldRules keys = 4; */ public Builder setKeys( com.lyft.pgv.validate.Validate.FieldRules.Builder builderForValue) { if (keysBuilder_ == null) { keys_ = builderForValue.build(); onChanged(); } else { keysBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
       * Keys specifies the constraints to be applied to each key in the field.
       * 
* * optional .validate.FieldRules keys = 4; */ public Builder mergeKeys(com.lyft.pgv.validate.Validate.FieldRules value) { if (keysBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && keys_ != null && keys_ != com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance()) { keys_ = com.lyft.pgv.validate.Validate.FieldRules.newBuilder(keys_).mergeFrom(value).buildPartial(); } else { keys_ = value; } onChanged(); } else { keysBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** *
       * Keys specifies the constraints to be applied to each key in the field.
       * 
* * optional .validate.FieldRules keys = 4; */ public Builder clearKeys() { if (keysBuilder_ == null) { keys_ = null; onChanged(); } else { keysBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
       * Keys specifies the constraints to be applied to each key in the field.
       * 
* * optional .validate.FieldRules keys = 4; */ public com.lyft.pgv.validate.Validate.FieldRules.Builder getKeysBuilder() { bitField0_ |= 0x00000008; onChanged(); return getKeysFieldBuilder().getBuilder(); } /** *
       * Keys specifies the constraints to be applied to each key in the field.
       * 
* * optional .validate.FieldRules keys = 4; */ public com.lyft.pgv.validate.Validate.FieldRulesOrBuilder getKeysOrBuilder() { if (keysBuilder_ != null) { return keysBuilder_.getMessageOrBuilder(); } else { return keys_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : keys_; } } /** *
       * Keys specifies the constraints to be applied to each key in the field.
       * 
* * optional .validate.FieldRules keys = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FieldRules, com.lyft.pgv.validate.Validate.FieldRules.Builder, com.lyft.pgv.validate.Validate.FieldRulesOrBuilder> getKeysFieldBuilder() { if (keysBuilder_ == null) { keysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FieldRules, com.lyft.pgv.validate.Validate.FieldRules.Builder, com.lyft.pgv.validate.Validate.FieldRulesOrBuilder>( getKeys(), getParentForChildren(), isClean()); keys_ = null; } return keysBuilder_; } private com.lyft.pgv.validate.Validate.FieldRules values_; private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FieldRules, com.lyft.pgv.validate.Validate.FieldRules.Builder, com.lyft.pgv.validate.Validate.FieldRulesOrBuilder> valuesBuilder_; /** *
       * Values specifies the constraints to be applied to the value of each key
       * in the field. Message values will still have their validations evaluated
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules values = 5; */ public boolean hasValues() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Values specifies the constraints to be applied to the value of each key
       * in the field. Message values will still have their validations evaluated
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules values = 5; */ public com.lyft.pgv.validate.Validate.FieldRules getValues() { if (valuesBuilder_ == null) { return values_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : values_; } else { return valuesBuilder_.getMessage(); } } /** *
       * Values specifies the constraints to be applied to the value of each key
       * in the field. Message values will still have their validations evaluated
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules values = 5; */ public Builder setValues(com.lyft.pgv.validate.Validate.FieldRules value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } values_ = value; onChanged(); } else { valuesBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** *
       * Values specifies the constraints to be applied to the value of each key
       * in the field. Message values will still have their validations evaluated
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules values = 5; */ public Builder setValues( com.lyft.pgv.validate.Validate.FieldRules.Builder builderForValue) { if (valuesBuilder_ == null) { values_ = builderForValue.build(); onChanged(); } else { valuesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** *
       * Values specifies the constraints to be applied to the value of each key
       * in the field. Message values will still have their validations evaluated
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules values = 5; */ public Builder mergeValues(com.lyft.pgv.validate.Validate.FieldRules value) { if (valuesBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && values_ != null && values_ != com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance()) { values_ = com.lyft.pgv.validate.Validate.FieldRules.newBuilder(values_).mergeFrom(value).buildPartial(); } else { values_ = value; } onChanged(); } else { valuesBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** *
       * Values specifies the constraints to be applied to the value of each key
       * in the field. Message values will still have their validations evaluated
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules values = 5; */ public Builder clearValues() { if (valuesBuilder_ == null) { values_ = null; onChanged(); } else { valuesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** *
       * Values specifies the constraints to be applied to the value of each key
       * in the field. Message values will still have their validations evaluated
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules values = 5; */ public com.lyft.pgv.validate.Validate.FieldRules.Builder getValuesBuilder() { bitField0_ |= 0x00000010; onChanged(); return getValuesFieldBuilder().getBuilder(); } /** *
       * Values specifies the constraints to be applied to the value of each key
       * in the field. Message values will still have their validations evaluated
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules values = 5; */ public com.lyft.pgv.validate.Validate.FieldRulesOrBuilder getValuesOrBuilder() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilder(); } else { return values_ == null ? com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance() : values_; } } /** *
       * Values specifies the constraints to be applied to the value of each key
       * in the field. Message values will still have their validations evaluated
       * unless skip is specified here.
       * 
* * optional .validate.FieldRules values = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FieldRules, com.lyft.pgv.validate.Validate.FieldRules.Builder, com.lyft.pgv.validate.Validate.FieldRulesOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { valuesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.lyft.pgv.validate.Validate.FieldRules, com.lyft.pgv.validate.Validate.FieldRules.Builder, com.lyft.pgv.validate.Validate.FieldRulesOrBuilder>( getValues(), getParentForChildren(), isClean()); values_ = null; } return valuesBuilder_; } @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:validate.MapRules) } // @@protoc_insertion_point(class_scope:validate.MapRules) private static final com.lyft.pgv.validate.Validate.MapRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.MapRules(); } public static com.lyft.pgv.validate.Validate.MapRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MapRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MapRules(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.lyft.pgv.validate.Validate.MapRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AnyRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.AnyRules) com.google.protobuf.MessageOrBuilder { /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ boolean hasRequired(); /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ boolean getRequired(); /** *
     * In specifies that this field's `type_url` must be equal to one of the
     * specified values.
     * 
* * repeated string in = 2; */ java.util.List getInList(); /** *
     * In specifies that this field's `type_url` must be equal to one of the
     * specified values.
     * 
* * repeated string in = 2; */ int getInCount(); /** *
     * In specifies that this field's `type_url` must be equal to one of the
     * specified values.
     * 
* * repeated string in = 2; */ java.lang.String getIn(int index); /** *
     * In specifies that this field's `type_url` must be equal to one of the
     * specified values.
     * 
* * repeated string in = 2; */ com.google.protobuf.ByteString getInBytes(int index); /** *
     * NotIn specifies that this field's `type_url` must not be equal to any of
     * the specified values.
     * 
* * repeated string not_in = 3; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field's `type_url` must not be equal to any of
     * the specified values.
     * 
* * repeated string not_in = 3; */ int getNotInCount(); /** *
     * NotIn specifies that this field's `type_url` must not be equal to any of
     * the specified values.
     * 
* * repeated string not_in = 3; */ java.lang.String getNotIn(int index); /** *
     * NotIn specifies that this field's `type_url` must not be equal to any of
     * the specified values.
     * 
* * repeated string not_in = 3; */ com.google.protobuf.ByteString getNotInBytes(int index); } /** *
   * AnyRules describe constraints applied exclusively to the
   * `google.protobuf.Any` well-known type
   * 
* * Protobuf type {@code validate.AnyRules} */ public static final class AnyRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.AnyRules) AnyRulesOrBuilder { private static final long serialVersionUID = 0L; // Use AnyRules.newBuilder() to construct. private AnyRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AnyRules() { in_ = com.google.protobuf.LazyStringArrayList.EMPTY; notIn_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AnyRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AnyRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; required_ = input.readBool(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { in_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } in_.add(bs); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000004) != 0)) { notIn_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } notIn_.add(bs); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { in_ = in_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000004) != 0)) { notIn_ = notIn_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_AnyRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_AnyRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.AnyRules.class, com.lyft.pgv.validate.Validate.AnyRules.Builder.class); } private int bitField0_; public static final int REQUIRED_FIELD_NUMBER = 1; private boolean required_; /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ public boolean hasRequired() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ public boolean getRequired() { return required_; } public static final int IN_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList in_; /** *
     * In specifies that this field's `type_url` must be equal to one of the
     * specified values.
     * 
* * repeated string in = 2; */ public com.google.protobuf.ProtocolStringList getInList() { return in_; } /** *
     * In specifies that this field's `type_url` must be equal to one of the
     * specified values.
     * 
* * repeated string in = 2; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field's `type_url` must be equal to one of the
     * specified values.
     * 
* * repeated string in = 2; */ public java.lang.String getIn(int index) { return in_.get(index); } /** *
     * In specifies that this field's `type_url` must be equal to one of the
     * specified values.
     * 
* * repeated string in = 2; */ public com.google.protobuf.ByteString getInBytes(int index) { return in_.getByteString(index); } public static final int NOT_IN_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList notIn_; /** *
     * NotIn specifies that this field's `type_url` must not be equal to any of
     * the specified values.
     * 
* * repeated string not_in = 3; */ public com.google.protobuf.ProtocolStringList getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field's `type_url` must not be equal to any of
     * the specified values.
     * 
* * repeated string not_in = 3; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field's `type_url` must not be equal to any of
     * the specified values.
     * 
* * repeated string not_in = 3; */ public java.lang.String getNotIn(int index) { return notIn_.get(index); } /** *
     * NotIn specifies that this field's `type_url` must not be equal to any of
     * the specified values.
     * 
* * repeated string not_in = 3; */ public com.google.protobuf.ByteString getNotInBytes(int index) { return notIn_.getByteString(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, required_); } for (int i = 0; i < in_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, in_.getRaw(i)); } for (int i = 0; i < notIn_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, notIn_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, required_); } { int dataSize = 0; for (int i = 0; i < in_.size(); i++) { dataSize += computeStringSizeNoTag(in_.getRaw(i)); } size += dataSize; size += 1 * getInList().size(); } { int dataSize = 0; for (int i = 0; i < notIn_.size(); i++) { dataSize += computeStringSizeNoTag(notIn_.getRaw(i)); } size += dataSize; size += 1 * getNotInList().size(); } 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.lyft.pgv.validate.Validate.AnyRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.AnyRules other = (com.lyft.pgv.validate.Validate.AnyRules) obj; if (hasRequired() != other.hasRequired()) return false; if (hasRequired()) { if (getRequired() != other.getRequired()) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasRequired()) { hash = (37 * hash) + REQUIRED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRequired()); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.AnyRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.AnyRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.AnyRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.AnyRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.AnyRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.AnyRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.AnyRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.AnyRules 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.lyft.pgv.validate.Validate.AnyRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.AnyRules 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.lyft.pgv.validate.Validate.AnyRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.AnyRules 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.lyft.pgv.validate.Validate.AnyRules 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; } /** *
     * AnyRules describe constraints applied exclusively to the
     * `google.protobuf.Any` well-known type
     * 
* * Protobuf type {@code validate.AnyRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.AnyRules) com.lyft.pgv.validate.Validate.AnyRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_AnyRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_AnyRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.AnyRules.class, com.lyft.pgv.validate.Validate.AnyRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.AnyRules.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(); required_ = false; bitField0_ = (bitField0_ & ~0x00000001); in_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); notIn_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_AnyRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.AnyRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.AnyRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.AnyRules build() { com.lyft.pgv.validate.Validate.AnyRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.AnyRules buildPartial() { com.lyft.pgv.validate.Validate.AnyRules result = new com.lyft.pgv.validate.Validate.AnyRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.required_ = required_; to_bitField0_ |= 0x00000001; } if (((bitField0_ & 0x00000002) != 0)) { in_ = in_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.in_ = in_; if (((bitField0_ & 0x00000004) != 0)) { notIn_ = notIn_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.notIn_ = notIn_; result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.AnyRules) { return mergeFrom((com.lyft.pgv.validate.Validate.AnyRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.AnyRules other) { if (other == com.lyft.pgv.validate.Validate.AnyRules.getDefaultInstance()) return this; if (other.hasRequired()) { setRequired(other.getRequired()); } if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } 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.lyft.pgv.validate.Validate.AnyRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.AnyRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean required_ ; /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public boolean hasRequired() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public boolean getRequired() { return required_; } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public Builder setRequired(boolean value) { bitField0_ |= 0x00000001; required_ = value; onChanged(); return this; } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public Builder clearRequired() { bitField0_ = (bitField0_ & ~0x00000001); required_ = false; onChanged(); return this; } private com.google.protobuf.LazyStringList in_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { in_ = new com.google.protobuf.LazyStringArrayList(in_); bitField0_ |= 0x00000002; } } /** *
       * In specifies that this field's `type_url` must be equal to one of the
       * specified values.
       * 
* * repeated string in = 2; */ public com.google.protobuf.ProtocolStringList getInList() { return in_.getUnmodifiableView(); } /** *
       * In specifies that this field's `type_url` must be equal to one of the
       * specified values.
       * 
* * repeated string in = 2; */ public int getInCount() { return in_.size(); } /** *
       * In specifies that this field's `type_url` must be equal to one of the
       * specified values.
       * 
* * repeated string in = 2; */ public java.lang.String getIn(int index) { return in_.get(index); } /** *
       * In specifies that this field's `type_url` must be equal to one of the
       * specified values.
       * 
* * repeated string in = 2; */ public com.google.protobuf.ByteString getInBytes(int index) { return in_.getByteString(index); } /** *
       * In specifies that this field's `type_url` must be equal to one of the
       * specified values.
       * 
* * repeated string in = 2; */ public Builder setIn( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureInIsMutable(); in_.set(index, value); onChanged(); return this; } /** *
       * In specifies that this field's `type_url` must be equal to one of the
       * specified values.
       * 
* * repeated string in = 2; */ public Builder addIn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureInIsMutable(); in_.add(value); onChanged(); return this; } /** *
       * In specifies that this field's `type_url` must be equal to one of the
       * specified values.
       * 
* * repeated string in = 2; */ public Builder addAllIn( java.lang.Iterable values) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); return this; } /** *
       * In specifies that this field's `type_url` must be equal to one of the
       * specified values.
       * 
* * repeated string in = 2; */ public Builder clearIn() { in_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * In specifies that this field's `type_url` must be equal to one of the
       * specified values.
       * 
* * repeated string in = 2; */ public Builder addInBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureInIsMutable(); in_.add(value); onChanged(); return this; } private com.google.protobuf.LazyStringList notIn_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { notIn_ = new com.google.protobuf.LazyStringArrayList(notIn_); bitField0_ |= 0x00000004; } } /** *
       * NotIn specifies that this field's `type_url` must not be equal to any of
       * the specified values.
       * 
* * repeated string not_in = 3; */ public com.google.protobuf.ProtocolStringList getNotInList() { return notIn_.getUnmodifiableView(); } /** *
       * NotIn specifies that this field's `type_url` must not be equal to any of
       * the specified values.
       * 
* * repeated string not_in = 3; */ public int getNotInCount() { return notIn_.size(); } /** *
       * NotIn specifies that this field's `type_url` must not be equal to any of
       * the specified values.
       * 
* * repeated string not_in = 3; */ public java.lang.String getNotIn(int index) { return notIn_.get(index); } /** *
       * NotIn specifies that this field's `type_url` must not be equal to any of
       * the specified values.
       * 
* * repeated string not_in = 3; */ public com.google.protobuf.ByteString getNotInBytes(int index) { return notIn_.getByteString(index); } /** *
       * NotIn specifies that this field's `type_url` must not be equal to any of
       * the specified values.
       * 
* * repeated string not_in = 3; */ public Builder setNotIn( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNotInIsMutable(); notIn_.set(index, value); onChanged(); return this; } /** *
       * NotIn specifies that this field's `type_url` must not be equal to any of
       * the specified values.
       * 
* * repeated string not_in = 3; */ public Builder addNotIn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNotInIsMutable(); notIn_.add(value); onChanged(); return this; } /** *
       * NotIn specifies that this field's `type_url` must not be equal to any of
       * the specified values.
       * 
* * repeated string not_in = 3; */ public Builder addAllNotIn( java.lang.Iterable values) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); return this; } /** *
       * NotIn specifies that this field's `type_url` must not be equal to any of
       * the specified values.
       * 
* * repeated string not_in = 3; */ public Builder clearNotIn() { notIn_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * NotIn specifies that this field's `type_url` must not be equal to any of
       * the specified values.
       * 
* * repeated string not_in = 3; */ public Builder addNotInBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureNotInIsMutable(); notIn_.add(value); onChanged(); return this; } @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:validate.AnyRules) } // @@protoc_insertion_point(class_scope:validate.AnyRules) private static final com.lyft.pgv.validate.Validate.AnyRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.AnyRules(); } public static com.lyft.pgv.validate.Validate.AnyRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AnyRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AnyRules(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.lyft.pgv.validate.Validate.AnyRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DurationRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.DurationRules) com.google.protobuf.MessageOrBuilder { /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ boolean hasRequired(); /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ boolean getRequired(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Duration const = 2; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Duration const = 2; */ com.google.protobuf.Duration getConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Duration const = 2; */ com.google.protobuf.DurationOrBuilder getConstOrBuilder(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration lt = 3; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration lt = 3; */ com.google.protobuf.Duration getLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration lt = 3; */ com.google.protobuf.DurationOrBuilder getLtOrBuilder(); /** *
     * Lt specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration lte = 4; */ boolean hasLte(); /** *
     * Lt specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration lte = 4; */ com.google.protobuf.Duration getLte(); /** *
     * Lt specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration lte = 4; */ com.google.protobuf.DurationOrBuilder getLteOrBuilder(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration gt = 5; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration gt = 5; */ com.google.protobuf.Duration getGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration gt = 5; */ com.google.protobuf.DurationOrBuilder getGtOrBuilder(); /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration gte = 6; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration gte = 6; */ com.google.protobuf.Duration getGte(); /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration gte = 6; */ com.google.protobuf.DurationOrBuilder getGteOrBuilder(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration in = 7; */ java.util.List getInList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration in = 7; */ com.google.protobuf.Duration getIn(int index); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration in = 7; */ int getInCount(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration in = 7; */ java.util.List getInOrBuilderList(); /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration in = 7; */ com.google.protobuf.DurationOrBuilder getInOrBuilder( int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration not_in = 8; */ java.util.List getNotInList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration not_in = 8; */ com.google.protobuf.Duration getNotIn(int index); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration not_in = 8; */ int getNotInCount(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration not_in = 8; */ java.util.List getNotInOrBuilderList(); /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration not_in = 8; */ com.google.protobuf.DurationOrBuilder getNotInOrBuilder( int index); } /** *
   * DurationRules describe the constraints applied exclusively to the
   * `google.protobuf.Duration` well-known type
   * 
* * Protobuf type {@code validate.DurationRules} */ public static final class DurationRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.DurationRules) DurationRulesOrBuilder { private static final long serialVersionUID = 0L; // Use DurationRules.newBuilder() to construct. private DurationRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DurationRules() { in_ = java.util.Collections.emptyList(); notIn_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DurationRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DurationRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; required_ = input.readBool(); break; } case 18: { com.google.protobuf.Duration.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = const_.toBuilder(); } const_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(const_); const_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.google.protobuf.Duration.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = lt_.toBuilder(); } lt_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lt_); lt_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { com.google.protobuf.Duration.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = lte_.toBuilder(); } lte_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lte_); lte_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { com.google.protobuf.Duration.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = gt_.toBuilder(); } gt_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gt_); gt_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { com.google.protobuf.Duration.Builder subBuilder = null; if (((bitField0_ & 0x00000020) != 0)) { subBuilder = gte_.toBuilder(); } gte_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gte_); gte_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 58: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { in_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } in_.add( input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry)); break; } case 66: { if (!((mutable_bitField0_ & 0x00000080) != 0)) { notIn_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } notIn_.add( input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000040) != 0)) { in_ = java.util.Collections.unmodifiableList(in_); } if (((mutable_bitField0_ & 0x00000080) != 0)) { notIn_ = java.util.Collections.unmodifiableList(notIn_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_DurationRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_DurationRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.DurationRules.class, com.lyft.pgv.validate.Validate.DurationRules.Builder.class); } private int bitField0_; public static final int REQUIRED_FIELD_NUMBER = 1; private boolean required_; /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ public boolean hasRequired() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ public boolean getRequired() { return required_; } public static final int CONST_FIELD_NUMBER = 2; private com.google.protobuf.Duration const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Duration const = 2; */ public boolean hasConst() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Duration const = 2; */ public com.google.protobuf.Duration getConst() { return const_ == null ? com.google.protobuf.Duration.getDefaultInstance() : const_; } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Duration const = 2; */ public com.google.protobuf.DurationOrBuilder getConstOrBuilder() { return const_ == null ? com.google.protobuf.Duration.getDefaultInstance() : const_; } public static final int LT_FIELD_NUMBER = 3; private com.google.protobuf.Duration lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration lt = 3; */ public boolean hasLt() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration lt = 3; */ public com.google.protobuf.Duration getLt() { return lt_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lt_; } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration lt = 3; */ public com.google.protobuf.DurationOrBuilder getLtOrBuilder() { return lt_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lt_; } public static final int LTE_FIELD_NUMBER = 4; private com.google.protobuf.Duration lte_; /** *
     * Lt specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration lte = 4; */ public boolean hasLte() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration lte = 4; */ public com.google.protobuf.Duration getLte() { return lte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lte_; } /** *
     * Lt specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration lte = 4; */ public com.google.protobuf.DurationOrBuilder getLteOrBuilder() { return lte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lte_; } public static final int GT_FIELD_NUMBER = 5; private com.google.protobuf.Duration gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration gt = 5; */ public boolean hasGt() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration gt = 5; */ public com.google.protobuf.Duration getGt() { return gt_ == null ? com.google.protobuf.Duration.getDefaultInstance() : gt_; } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Duration gt = 5; */ public com.google.protobuf.DurationOrBuilder getGtOrBuilder() { return gt_ == null ? com.google.protobuf.Duration.getDefaultInstance() : gt_; } public static final int GTE_FIELD_NUMBER = 6; private com.google.protobuf.Duration gte_; /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration gte = 6; */ public boolean hasGte() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration gte = 6; */ public com.google.protobuf.Duration getGte() { return gte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : gte_; } /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Duration gte = 6; */ public com.google.protobuf.DurationOrBuilder getGteOrBuilder() { return gte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : gte_; } public static final int IN_FIELD_NUMBER = 7; private java.util.List in_; /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration in = 7; */ public java.util.List getInList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration in = 7; */ public java.util.List getInOrBuilderList() { return in_; } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration in = 7; */ public int getInCount() { return in_.size(); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration in = 7; */ public com.google.protobuf.Duration getIn(int index) { return in_.get(index); } /** *
     * In specifies that this field must be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration in = 7; */ public com.google.protobuf.DurationOrBuilder getInOrBuilder( int index) { return in_.get(index); } public static final int NOT_IN_FIELD_NUMBER = 8; private java.util.List notIn_; /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration not_in = 8; */ public java.util.List getNotInList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration not_in = 8; */ public java.util.List getNotInOrBuilderList() { return notIn_; } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration not_in = 8; */ public int getNotInCount() { return notIn_.size(); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration not_in = 8; */ public com.google.protobuf.Duration getNotIn(int index) { return notIn_.get(index); } /** *
     * NotIn specifies that this field cannot be equal to one of the specified
     * values
     * 
* * repeated .google.protobuf.Duration not_in = 8; */ public com.google.protobuf.DurationOrBuilder getNotInOrBuilder( int index) { return notIn_.get(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, required_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getConst()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getLt()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getLte()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getGt()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(6, getGte()); } for (int i = 0; i < in_.size(); i++) { output.writeMessage(7, in_.get(i)); } for (int i = 0; i < notIn_.size(); i++) { output.writeMessage(8, notIn_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, required_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getConst()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLt()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getLte()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getGt()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getGte()); } for (int i = 0; i < in_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, in_.get(i)); } for (int i = 0; i < notIn_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, notIn_.get(i)); } 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.lyft.pgv.validate.Validate.DurationRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.DurationRules other = (com.lyft.pgv.validate.Validate.DurationRules) obj; if (hasRequired() != other.hasRequired()) return false; if (hasRequired()) { if (getRequired() != other.getRequired()) return false; } if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (!getConst() .equals(other.getConst())) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (!getLt() .equals(other.getLt())) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (!getLte() .equals(other.getLte())) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (!getGt() .equals(other.getGt())) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (!getGte() .equals(other.getGte())) return false; } if (!getInList() .equals(other.getInList())) return false; if (!getNotInList() .equals(other.getNotInList())) 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(); if (hasRequired()) { hash = (37 * hash) + REQUIRED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRequired()); } if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + getConst().hashCode(); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + getLt().hashCode(); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + getLte().hashCode(); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + getGt().hashCode(); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + getGte().hashCode(); } if (getInCount() > 0) { hash = (37 * hash) + IN_FIELD_NUMBER; hash = (53 * hash) + getInList().hashCode(); } if (getNotInCount() > 0) { hash = (37 * hash) + NOT_IN_FIELD_NUMBER; hash = (53 * hash) + getNotInList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.DurationRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.DurationRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.DurationRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.DurationRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.DurationRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.DurationRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.DurationRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.DurationRules 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.lyft.pgv.validate.Validate.DurationRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.DurationRules 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.lyft.pgv.validate.Validate.DurationRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.DurationRules 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.lyft.pgv.validate.Validate.DurationRules 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; } /** *
     * DurationRules describe the constraints applied exclusively to the
     * `google.protobuf.Duration` well-known type
     * 
* * Protobuf type {@code validate.DurationRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.DurationRules) com.lyft.pgv.validate.Validate.DurationRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_DurationRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_DurationRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.DurationRules.class, com.lyft.pgv.validate.Validate.DurationRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.DurationRules.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getConstFieldBuilder(); getLtFieldBuilder(); getLteFieldBuilder(); getGtFieldBuilder(); getGteFieldBuilder(); getInFieldBuilder(); getNotInFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); required_ = false; bitField0_ = (bitField0_ & ~0x00000001); if (constBuilder_ == null) { const_ = null; } else { constBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (ltBuilder_ == null) { lt_ = null; } else { ltBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (lteBuilder_ == null) { lte_ = null; } else { lteBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (gtBuilder_ == null) { gt_ = null; } else { gtBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (gteBuilder_ == null) { gte_ = null; } else { gteBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (inBuilder_ == null) { in_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { inBuilder_.clear(); } if (notInBuilder_ == null) { notIn_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { notInBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_DurationRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.DurationRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.DurationRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.DurationRules build() { com.lyft.pgv.validate.Validate.DurationRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.DurationRules buildPartial() { com.lyft.pgv.validate.Validate.DurationRules result = new com.lyft.pgv.validate.Validate.DurationRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.required_ = required_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (constBuilder_ == null) { result.const_ = const_; } else { result.const_ = constBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (ltBuilder_ == null) { result.lt_ = lt_; } else { result.lt_ = ltBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (lteBuilder_ == null) { result.lte_ = lte_; } else { result.lte_ = lteBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { if (gtBuilder_ == null) { result.gt_ = gt_; } else { result.gt_ = gtBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { if (gteBuilder_ == null) { result.gte_ = gte_; } else { result.gte_ = gteBuilder_.build(); } to_bitField0_ |= 0x00000020; } if (inBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { in_ = java.util.Collections.unmodifiableList(in_); bitField0_ = (bitField0_ & ~0x00000040); } result.in_ = in_; } else { result.in_ = inBuilder_.build(); } if (notInBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { notIn_ = java.util.Collections.unmodifiableList(notIn_); bitField0_ = (bitField0_ & ~0x00000080); } result.notIn_ = notIn_; } else { result.notIn_ = notInBuilder_.build(); } result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.DurationRules) { return mergeFrom((com.lyft.pgv.validate.Validate.DurationRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.DurationRules other) { if (other == com.lyft.pgv.validate.Validate.DurationRules.getDefaultInstance()) return this; if (other.hasRequired()) { setRequired(other.getRequired()); } if (other.hasConst()) { mergeConst(other.getConst()); } if (other.hasLt()) { mergeLt(other.getLt()); } if (other.hasLte()) { mergeLte(other.getLte()); } if (other.hasGt()) { mergeGt(other.getGt()); } if (other.hasGte()) { mergeGte(other.getGte()); } if (inBuilder_ == null) { if (!other.in_.isEmpty()) { if (in_.isEmpty()) { in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureInIsMutable(); in_.addAll(other.in_); } onChanged(); } } else { if (!other.in_.isEmpty()) { if (inBuilder_.isEmpty()) { inBuilder_.dispose(); inBuilder_ = null; in_ = other.in_; bitField0_ = (bitField0_ & ~0x00000040); inBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getInFieldBuilder() : null; } else { inBuilder_.addAllMessages(other.in_); } } } if (notInBuilder_ == null) { if (!other.notIn_.isEmpty()) { if (notIn_.isEmpty()) { notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureNotInIsMutable(); notIn_.addAll(other.notIn_); } onChanged(); } } else { if (!other.notIn_.isEmpty()) { if (notInBuilder_.isEmpty()) { notInBuilder_.dispose(); notInBuilder_ = null; notIn_ = other.notIn_; bitField0_ = (bitField0_ & ~0x00000080); notInBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNotInFieldBuilder() : null; } else { notInBuilder_.addAllMessages(other.notIn_); } } } 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.lyft.pgv.validate.Validate.DurationRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.DurationRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean required_ ; /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public boolean hasRequired() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public boolean getRequired() { return required_; } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public Builder setRequired(boolean value) { bitField0_ |= 0x00000001; required_ = value; onChanged(); return this; } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public Builder clearRequired() { bitField0_ = (bitField0_ & ~0x00000001); required_ = false; onChanged(); return this; } private com.google.protobuf.Duration const_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> constBuilder_; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Duration const = 2; */ public boolean hasConst() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Duration const = 2; */ public com.google.protobuf.Duration getConst() { if (constBuilder_ == null) { return const_ == null ? com.google.protobuf.Duration.getDefaultInstance() : const_; } else { return constBuilder_.getMessage(); } } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Duration const = 2; */ public Builder setConst(com.google.protobuf.Duration value) { if (constBuilder_ == null) { if (value == null) { throw new NullPointerException(); } const_ = value; onChanged(); } else { constBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Duration const = 2; */ public Builder setConst( com.google.protobuf.Duration.Builder builderForValue) { if (constBuilder_ == null) { const_ = builderForValue.build(); onChanged(); } else { constBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Duration const = 2; */ public Builder mergeConst(com.google.protobuf.Duration value) { if (constBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && const_ != null && const_ != com.google.protobuf.Duration.getDefaultInstance()) { const_ = com.google.protobuf.Duration.newBuilder(const_).mergeFrom(value).buildPartial(); } else { const_ = value; } onChanged(); } else { constBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Duration const = 2; */ public Builder clearConst() { if (constBuilder_ == null) { const_ = null; onChanged(); } else { constBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Duration const = 2; */ public com.google.protobuf.Duration.Builder getConstBuilder() { bitField0_ |= 0x00000002; onChanged(); return getConstFieldBuilder().getBuilder(); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Duration const = 2; */ public com.google.protobuf.DurationOrBuilder getConstOrBuilder() { if (constBuilder_ != null) { return constBuilder_.getMessageOrBuilder(); } else { return const_ == null ? com.google.protobuf.Duration.getDefaultInstance() : const_; } } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Duration const = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getConstFieldBuilder() { if (constBuilder_ == null) { constBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getConst(), getParentForChildren(), isClean()); const_ = null; } return constBuilder_; } private com.google.protobuf.Duration lt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> ltBuilder_; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration lt = 3; */ public boolean hasLt() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration lt = 3; */ public com.google.protobuf.Duration getLt() { if (ltBuilder_ == null) { return lt_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lt_; } else { return ltBuilder_.getMessage(); } } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration lt = 3; */ public Builder setLt(com.google.protobuf.Duration value) { if (ltBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lt_ = value; onChanged(); } else { ltBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration lt = 3; */ public Builder setLt( com.google.protobuf.Duration.Builder builderForValue) { if (ltBuilder_ == null) { lt_ = builderForValue.build(); onChanged(); } else { ltBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration lt = 3; */ public Builder mergeLt(com.google.protobuf.Duration value) { if (ltBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && lt_ != null && lt_ != com.google.protobuf.Duration.getDefaultInstance()) { lt_ = com.google.protobuf.Duration.newBuilder(lt_).mergeFrom(value).buildPartial(); } else { lt_ = value; } onChanged(); } else { ltBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration lt = 3; */ public Builder clearLt() { if (ltBuilder_ == null) { lt_ = null; onChanged(); } else { ltBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration lt = 3; */ public com.google.protobuf.Duration.Builder getLtBuilder() { bitField0_ |= 0x00000004; onChanged(); return getLtFieldBuilder().getBuilder(); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration lt = 3; */ public com.google.protobuf.DurationOrBuilder getLtOrBuilder() { if (ltBuilder_ != null) { return ltBuilder_.getMessageOrBuilder(); } else { return lt_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lt_; } } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration lt = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getLtFieldBuilder() { if (ltBuilder_ == null) { ltBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getLt(), getParentForChildren(), isClean()); lt_ = null; } return ltBuilder_; } private com.google.protobuf.Duration lte_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> lteBuilder_; /** *
       * Lt specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration lte = 4; */ public boolean hasLte() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration lte = 4; */ public com.google.protobuf.Duration getLte() { if (lteBuilder_ == null) { return lte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lte_; } else { return lteBuilder_.getMessage(); } } /** *
       * Lt specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration lte = 4; */ public Builder setLte(com.google.protobuf.Duration value) { if (lteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lte_ = value; onChanged(); } else { lteBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration lte = 4; */ public Builder setLte( com.google.protobuf.Duration.Builder builderForValue) { if (lteBuilder_ == null) { lte_ = builderForValue.build(); onChanged(); } else { lteBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration lte = 4; */ public Builder mergeLte(com.google.protobuf.Duration value) { if (lteBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && lte_ != null && lte_ != com.google.protobuf.Duration.getDefaultInstance()) { lte_ = com.google.protobuf.Duration.newBuilder(lte_).mergeFrom(value).buildPartial(); } else { lte_ = value; } onChanged(); } else { lteBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration lte = 4; */ public Builder clearLte() { if (lteBuilder_ == null) { lte_ = null; onChanged(); } else { lteBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration lte = 4; */ public com.google.protobuf.Duration.Builder getLteBuilder() { bitField0_ |= 0x00000008; onChanged(); return getLteFieldBuilder().getBuilder(); } /** *
       * Lt specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration lte = 4; */ public com.google.protobuf.DurationOrBuilder getLteOrBuilder() { if (lteBuilder_ != null) { return lteBuilder_.getMessageOrBuilder(); } else { return lte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lte_; } } /** *
       * Lt specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration lte = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getLteFieldBuilder() { if (lteBuilder_ == null) { lteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getLte(), getParentForChildren(), isClean()); lte_ = null; } return lteBuilder_; } private com.google.protobuf.Duration gt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> gtBuilder_; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration gt = 5; */ public boolean hasGt() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration gt = 5; */ public com.google.protobuf.Duration getGt() { if (gtBuilder_ == null) { return gt_ == null ? com.google.protobuf.Duration.getDefaultInstance() : gt_; } else { return gtBuilder_.getMessage(); } } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration gt = 5; */ public Builder setGt(com.google.protobuf.Duration value) { if (gtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gt_ = value; onChanged(); } else { gtBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration gt = 5; */ public Builder setGt( com.google.protobuf.Duration.Builder builderForValue) { if (gtBuilder_ == null) { gt_ = builderForValue.build(); onChanged(); } else { gtBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration gt = 5; */ public Builder mergeGt(com.google.protobuf.Duration value) { if (gtBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && gt_ != null && gt_ != com.google.protobuf.Duration.getDefaultInstance()) { gt_ = com.google.protobuf.Duration.newBuilder(gt_).mergeFrom(value).buildPartial(); } else { gt_ = value; } onChanged(); } else { gtBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration gt = 5; */ public Builder clearGt() { if (gtBuilder_ == null) { gt_ = null; onChanged(); } else { gtBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration gt = 5; */ public com.google.protobuf.Duration.Builder getGtBuilder() { bitField0_ |= 0x00000010; onChanged(); return getGtFieldBuilder().getBuilder(); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration gt = 5; */ public com.google.protobuf.DurationOrBuilder getGtOrBuilder() { if (gtBuilder_ != null) { return gtBuilder_.getMessageOrBuilder(); } else { return gt_ == null ? com.google.protobuf.Duration.getDefaultInstance() : gt_; } } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Duration gt = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getGtFieldBuilder() { if (gtBuilder_ == null) { gtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getGt(), getParentForChildren(), isClean()); gt_ = null; } return gtBuilder_; } private com.google.protobuf.Duration gte_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> gteBuilder_; /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration gte = 6; */ public boolean hasGte() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration gte = 6; */ public com.google.protobuf.Duration getGte() { if (gteBuilder_ == null) { return gte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : gte_; } else { return gteBuilder_.getMessage(); } } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration gte = 6; */ public Builder setGte(com.google.protobuf.Duration value) { if (gteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gte_ = value; onChanged(); } else { gteBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration gte = 6; */ public Builder setGte( com.google.protobuf.Duration.Builder builderForValue) { if (gteBuilder_ == null) { gte_ = builderForValue.build(); onChanged(); } else { gteBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration gte = 6; */ public Builder mergeGte(com.google.protobuf.Duration value) { if (gteBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && gte_ != null && gte_ != com.google.protobuf.Duration.getDefaultInstance()) { gte_ = com.google.protobuf.Duration.newBuilder(gte_).mergeFrom(value).buildPartial(); } else { gte_ = value; } onChanged(); } else { gteBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration gte = 6; */ public Builder clearGte() { if (gteBuilder_ == null) { gte_ = null; onChanged(); } else { gteBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration gte = 6; */ public com.google.protobuf.Duration.Builder getGteBuilder() { bitField0_ |= 0x00000020; onChanged(); return getGteFieldBuilder().getBuilder(); } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration gte = 6; */ public com.google.protobuf.DurationOrBuilder getGteOrBuilder() { if (gteBuilder_ != null) { return gteBuilder_.getMessageOrBuilder(); } else { return gte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : gte_; } } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Duration gte = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getGteFieldBuilder() { if (gteBuilder_ == null) { gteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getGte(), getParentForChildren(), isClean()); gte_ = null; } return gteBuilder_; } private java.util.List in_ = java.util.Collections.emptyList(); private void ensureInIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { in_ = new java.util.ArrayList(in_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> inBuilder_; /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public java.util.List getInList() { if (inBuilder_ == null) { return java.util.Collections.unmodifiableList(in_); } else { return inBuilder_.getMessageList(); } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public int getInCount() { if (inBuilder_ == null) { return in_.size(); } else { return inBuilder_.getCount(); } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public com.google.protobuf.Duration getIn(int index) { if (inBuilder_ == null) { return in_.get(index); } else { return inBuilder_.getMessage(index); } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public Builder setIn( int index, com.google.protobuf.Duration value) { if (inBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInIsMutable(); in_.set(index, value); onChanged(); } else { inBuilder_.setMessage(index, value); } return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public Builder setIn( int index, com.google.protobuf.Duration.Builder builderForValue) { if (inBuilder_ == null) { ensureInIsMutable(); in_.set(index, builderForValue.build()); onChanged(); } else { inBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public Builder addIn(com.google.protobuf.Duration value) { if (inBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInIsMutable(); in_.add(value); onChanged(); } else { inBuilder_.addMessage(value); } return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public Builder addIn( int index, com.google.protobuf.Duration value) { if (inBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInIsMutable(); in_.add(index, value); onChanged(); } else { inBuilder_.addMessage(index, value); } return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public Builder addIn( com.google.protobuf.Duration.Builder builderForValue) { if (inBuilder_ == null) { ensureInIsMutable(); in_.add(builderForValue.build()); onChanged(); } else { inBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public Builder addIn( int index, com.google.protobuf.Duration.Builder builderForValue) { if (inBuilder_ == null) { ensureInIsMutable(); in_.add(index, builderForValue.build()); onChanged(); } else { inBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public Builder addAllIn( java.lang.Iterable values) { if (inBuilder_ == null) { ensureInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, in_); onChanged(); } else { inBuilder_.addAllMessages(values); } return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public Builder clearIn() { if (inBuilder_ == null) { in_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { inBuilder_.clear(); } return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public Builder removeIn(int index) { if (inBuilder_ == null) { ensureInIsMutable(); in_.remove(index); onChanged(); } else { inBuilder_.remove(index); } return this; } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public com.google.protobuf.Duration.Builder getInBuilder( int index) { return getInFieldBuilder().getBuilder(index); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public com.google.protobuf.DurationOrBuilder getInOrBuilder( int index) { if (inBuilder_ == null) { return in_.get(index); } else { return inBuilder_.getMessageOrBuilder(index); } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public java.util.List getInOrBuilderList() { if (inBuilder_ != null) { return inBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(in_); } } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public com.google.protobuf.Duration.Builder addInBuilder() { return getInFieldBuilder().addBuilder( com.google.protobuf.Duration.getDefaultInstance()); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public com.google.protobuf.Duration.Builder addInBuilder( int index) { return getInFieldBuilder().addBuilder( index, com.google.protobuf.Duration.getDefaultInstance()); } /** *
       * In specifies that this field must be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration in = 7; */ public java.util.List getInBuilderList() { return getInFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getInFieldBuilder() { if (inBuilder_ == null) { inBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( in_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); in_ = null; } return inBuilder_; } private java.util.List notIn_ = java.util.Collections.emptyList(); private void ensureNotInIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { notIn_ = new java.util.ArrayList(notIn_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> notInBuilder_; /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public java.util.List getNotInList() { if (notInBuilder_ == null) { return java.util.Collections.unmodifiableList(notIn_); } else { return notInBuilder_.getMessageList(); } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public int getNotInCount() { if (notInBuilder_ == null) { return notIn_.size(); } else { return notInBuilder_.getCount(); } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public com.google.protobuf.Duration getNotIn(int index) { if (notInBuilder_ == null) { return notIn_.get(index); } else { return notInBuilder_.getMessage(index); } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public Builder setNotIn( int index, com.google.protobuf.Duration value) { if (notInBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNotInIsMutable(); notIn_.set(index, value); onChanged(); } else { notInBuilder_.setMessage(index, value); } return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public Builder setNotIn( int index, com.google.protobuf.Duration.Builder builderForValue) { if (notInBuilder_ == null) { ensureNotInIsMutable(); notIn_.set(index, builderForValue.build()); onChanged(); } else { notInBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public Builder addNotIn(com.google.protobuf.Duration value) { if (notInBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNotInIsMutable(); notIn_.add(value); onChanged(); } else { notInBuilder_.addMessage(value); } return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public Builder addNotIn( int index, com.google.protobuf.Duration value) { if (notInBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNotInIsMutable(); notIn_.add(index, value); onChanged(); } else { notInBuilder_.addMessage(index, value); } return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public Builder addNotIn( com.google.protobuf.Duration.Builder builderForValue) { if (notInBuilder_ == null) { ensureNotInIsMutable(); notIn_.add(builderForValue.build()); onChanged(); } else { notInBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public Builder addNotIn( int index, com.google.protobuf.Duration.Builder builderForValue) { if (notInBuilder_ == null) { ensureNotInIsMutable(); notIn_.add(index, builderForValue.build()); onChanged(); } else { notInBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public Builder addAllNotIn( java.lang.Iterable values) { if (notInBuilder_ == null) { ensureNotInIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notIn_); onChanged(); } else { notInBuilder_.addAllMessages(values); } return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public Builder clearNotIn() { if (notInBuilder_ == null) { notIn_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { notInBuilder_.clear(); } return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public Builder removeNotIn(int index) { if (notInBuilder_ == null) { ensureNotInIsMutable(); notIn_.remove(index); onChanged(); } else { notInBuilder_.remove(index); } return this; } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public com.google.protobuf.Duration.Builder getNotInBuilder( int index) { return getNotInFieldBuilder().getBuilder(index); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public com.google.protobuf.DurationOrBuilder getNotInOrBuilder( int index) { if (notInBuilder_ == null) { return notIn_.get(index); } else { return notInBuilder_.getMessageOrBuilder(index); } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public java.util.List getNotInOrBuilderList() { if (notInBuilder_ != null) { return notInBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(notIn_); } } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public com.google.protobuf.Duration.Builder addNotInBuilder() { return getNotInFieldBuilder().addBuilder( com.google.protobuf.Duration.getDefaultInstance()); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public com.google.protobuf.Duration.Builder addNotInBuilder( int index) { return getNotInFieldBuilder().addBuilder( index, com.google.protobuf.Duration.getDefaultInstance()); } /** *
       * NotIn specifies that this field cannot be equal to one of the specified
       * values
       * 
* * repeated .google.protobuf.Duration not_in = 8; */ public java.util.List getNotInBuilderList() { return getNotInFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getNotInFieldBuilder() { if (notInBuilder_ == null) { notInBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( notIn_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); notIn_ = null; } return notInBuilder_; } @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:validate.DurationRules) } // @@protoc_insertion_point(class_scope:validate.DurationRules) private static final com.lyft.pgv.validate.Validate.DurationRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.DurationRules(); } public static com.lyft.pgv.validate.Validate.DurationRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DurationRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DurationRules(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.lyft.pgv.validate.Validate.DurationRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimestampRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:validate.TimestampRules) com.google.protobuf.MessageOrBuilder { /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ boolean hasRequired(); /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ boolean getRequired(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Timestamp const = 2; */ boolean hasConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Timestamp const = 2; */ com.google.protobuf.Timestamp getConst(); /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Timestamp const = 2; */ com.google.protobuf.TimestampOrBuilder getConstOrBuilder(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp lt = 3; */ boolean hasLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp lt = 3; */ com.google.protobuf.Timestamp getLt(); /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp lt = 3; */ com.google.protobuf.TimestampOrBuilder getLtOrBuilder(); /** *
     * Lte specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp lte = 4; */ boolean hasLte(); /** *
     * Lte specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp lte = 4; */ com.google.protobuf.Timestamp getLte(); /** *
     * Lte specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp lte = 4; */ com.google.protobuf.TimestampOrBuilder getLteOrBuilder(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp gt = 5; */ boolean hasGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp gt = 5; */ com.google.protobuf.Timestamp getGt(); /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp gt = 5; */ com.google.protobuf.TimestampOrBuilder getGtOrBuilder(); /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp gte = 6; */ boolean hasGte(); /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp gte = 6; */ com.google.protobuf.Timestamp getGte(); /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp gte = 6; */ com.google.protobuf.TimestampOrBuilder getGteOrBuilder(); /** *
     * LtNow specifies that this must be less than the current time. LtNow
     * can only be used with the Within rule.
     * 
* * optional bool lt_now = 7; */ boolean hasLtNow(); /** *
     * LtNow specifies that this must be less than the current time. LtNow
     * can only be used with the Within rule.
     * 
* * optional bool lt_now = 7; */ boolean getLtNow(); /** *
     * GtNow specifies that this must be greater than the current time. GtNow
     * can only be used with the Within rule.
     * 
* * optional bool gt_now = 8; */ boolean hasGtNow(); /** *
     * GtNow specifies that this must be greater than the current time. GtNow
     * can only be used with the Within rule.
     * 
* * optional bool gt_now = 8; */ boolean getGtNow(); /** *
     * Within specifies that this field must be within this duration of the
     * current time. This constraint can be used alone or with the LtNow and
     * GtNow rules.
     * 
* * optional .google.protobuf.Duration within = 9; */ boolean hasWithin(); /** *
     * Within specifies that this field must be within this duration of the
     * current time. This constraint can be used alone or with the LtNow and
     * GtNow rules.
     * 
* * optional .google.protobuf.Duration within = 9; */ com.google.protobuf.Duration getWithin(); /** *
     * Within specifies that this field must be within this duration of the
     * current time. This constraint can be used alone or with the LtNow and
     * GtNow rules.
     * 
* * optional .google.protobuf.Duration within = 9; */ com.google.protobuf.DurationOrBuilder getWithinOrBuilder(); } /** *
   * TimestampRules describe the constraints applied exclusively to the
   * `google.protobuf.Timestamp` well-known type
   * 
* * Protobuf type {@code validate.TimestampRules} */ public static final class TimestampRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:validate.TimestampRules) TimestampRulesOrBuilder { private static final long serialVersionUID = 0L; // Use TimestampRules.newBuilder() to construct. private TimestampRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TimestampRules() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TimestampRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TimestampRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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 8: { bitField0_ |= 0x00000001; required_ = input.readBool(); break; } case 18: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = const_.toBuilder(); } const_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(const_); const_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = lt_.toBuilder(); } lt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lt_); lt_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = lte_.toBuilder(); } lte_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lte_); lte_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = gt_.toBuilder(); } gt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gt_); gt_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000020) != 0)) { subBuilder = gte_.toBuilder(); } gte_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gte_); gte_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 56: { bitField0_ |= 0x00000040; ltNow_ = input.readBool(); break; } case 64: { bitField0_ |= 0x00000080; gtNow_ = input.readBool(); break; } case 74: { com.google.protobuf.Duration.Builder subBuilder = null; if (((bitField0_ & 0x00000100) != 0)) { subBuilder = within_.toBuilder(); } within_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(within_); within_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.lyft.pgv.validate.Validate.internal_static_validate_TimestampRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_TimestampRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.TimestampRules.class, com.lyft.pgv.validate.Validate.TimestampRules.Builder.class); } private int bitField0_; public static final int REQUIRED_FIELD_NUMBER = 1; private boolean required_; /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ public boolean hasRequired() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Required specifies that this field must be set
     * 
* * optional bool required = 1; */ public boolean getRequired() { return required_; } public static final int CONST_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp const_; /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Timestamp const = 2; */ public boolean hasConst() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Timestamp const = 2; */ public com.google.protobuf.Timestamp getConst() { return const_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : const_; } /** *
     * Const specifies that this field must be exactly the specified value
     * 
* * optional .google.protobuf.Timestamp const = 2; */ public com.google.protobuf.TimestampOrBuilder getConstOrBuilder() { return const_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : const_; } public static final int LT_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp lt_; /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp lt = 3; */ public boolean hasLt() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp lt = 3; */ public com.google.protobuf.Timestamp getLt() { return lt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lt_; } /** *
     * Lt specifies that this field must be less than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp lt = 3; */ public com.google.protobuf.TimestampOrBuilder getLtOrBuilder() { return lt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lt_; } public static final int LTE_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp lte_; /** *
     * Lte specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp lte = 4; */ public boolean hasLte() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Lte specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp lte = 4; */ public com.google.protobuf.Timestamp getLte() { return lte_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lte_; } /** *
     * Lte specifies that this field must be less than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp lte = 4; */ public com.google.protobuf.TimestampOrBuilder getLteOrBuilder() { return lte_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lte_; } public static final int GT_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp gt_; /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp gt = 5; */ public boolean hasGt() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp gt = 5; */ public com.google.protobuf.Timestamp getGt() { return gt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : gt_; } /** *
     * Gt specifies that this field must be greater than the specified value,
     * exclusive
     * 
* * optional .google.protobuf.Timestamp gt = 5; */ public com.google.protobuf.TimestampOrBuilder getGtOrBuilder() { return gt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : gt_; } public static final int GTE_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp gte_; /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp gte = 6; */ public boolean hasGte() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp gte = 6; */ public com.google.protobuf.Timestamp getGte() { return gte_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : gte_; } /** *
     * Gte specifies that this field must be greater than the specified value,
     * inclusive
     * 
* * optional .google.protobuf.Timestamp gte = 6; */ public com.google.protobuf.TimestampOrBuilder getGteOrBuilder() { return gte_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : gte_; } public static final int LT_NOW_FIELD_NUMBER = 7; private boolean ltNow_; /** *
     * LtNow specifies that this must be less than the current time. LtNow
     * can only be used with the Within rule.
     * 
* * optional bool lt_now = 7; */ public boolean hasLtNow() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * LtNow specifies that this must be less than the current time. LtNow
     * can only be used with the Within rule.
     * 
* * optional bool lt_now = 7; */ public boolean getLtNow() { return ltNow_; } public static final int GT_NOW_FIELD_NUMBER = 8; private boolean gtNow_; /** *
     * GtNow specifies that this must be greater than the current time. GtNow
     * can only be used with the Within rule.
     * 
* * optional bool gt_now = 8; */ public boolean hasGtNow() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * GtNow specifies that this must be greater than the current time. GtNow
     * can only be used with the Within rule.
     * 
* * optional bool gt_now = 8; */ public boolean getGtNow() { return gtNow_; } public static final int WITHIN_FIELD_NUMBER = 9; private com.google.protobuf.Duration within_; /** *
     * Within specifies that this field must be within this duration of the
     * current time. This constraint can be used alone or with the LtNow and
     * GtNow rules.
     * 
* * optional .google.protobuf.Duration within = 9; */ public boolean hasWithin() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * Within specifies that this field must be within this duration of the
     * current time. This constraint can be used alone or with the LtNow and
     * GtNow rules.
     * 
* * optional .google.protobuf.Duration within = 9; */ public com.google.protobuf.Duration getWithin() { return within_ == null ? com.google.protobuf.Duration.getDefaultInstance() : within_; } /** *
     * Within specifies that this field must be within this duration of the
     * current time. This constraint can be used alone or with the LtNow and
     * GtNow rules.
     * 
* * optional .google.protobuf.Duration within = 9; */ public com.google.protobuf.DurationOrBuilder getWithinOrBuilder() { return within_ == null ? com.google.protobuf.Duration.getDefaultInstance() : within_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, required_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getConst()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getLt()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getLte()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getGt()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(6, getGte()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(7, ltNow_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeBool(8, gtNow_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(9, getWithin()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, required_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getConst()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLt()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getLte()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getGt()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getGte()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, ltNow_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, gtNow_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getWithin()); } 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.lyft.pgv.validate.Validate.TimestampRules)) { return super.equals(obj); } com.lyft.pgv.validate.Validate.TimestampRules other = (com.lyft.pgv.validate.Validate.TimestampRules) obj; if (hasRequired() != other.hasRequired()) return false; if (hasRequired()) { if (getRequired() != other.getRequired()) return false; } if (hasConst() != other.hasConst()) return false; if (hasConst()) { if (!getConst() .equals(other.getConst())) return false; } if (hasLt() != other.hasLt()) return false; if (hasLt()) { if (!getLt() .equals(other.getLt())) return false; } if (hasLte() != other.hasLte()) return false; if (hasLte()) { if (!getLte() .equals(other.getLte())) return false; } if (hasGt() != other.hasGt()) return false; if (hasGt()) { if (!getGt() .equals(other.getGt())) return false; } if (hasGte() != other.hasGte()) return false; if (hasGte()) { if (!getGte() .equals(other.getGte())) return false; } if (hasLtNow() != other.hasLtNow()) return false; if (hasLtNow()) { if (getLtNow() != other.getLtNow()) return false; } if (hasGtNow() != other.hasGtNow()) return false; if (hasGtNow()) { if (getGtNow() != other.getGtNow()) return false; } if (hasWithin() != other.hasWithin()) return false; if (hasWithin()) { if (!getWithin() .equals(other.getWithin())) 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(); if (hasRequired()) { hash = (37 * hash) + REQUIRED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRequired()); } if (hasConst()) { hash = (37 * hash) + CONST_FIELD_NUMBER; hash = (53 * hash) + getConst().hashCode(); } if (hasLt()) { hash = (37 * hash) + LT_FIELD_NUMBER; hash = (53 * hash) + getLt().hashCode(); } if (hasLte()) { hash = (37 * hash) + LTE_FIELD_NUMBER; hash = (53 * hash) + getLte().hashCode(); } if (hasGt()) { hash = (37 * hash) + GT_FIELD_NUMBER; hash = (53 * hash) + getGt().hashCode(); } if (hasGte()) { hash = (37 * hash) + GTE_FIELD_NUMBER; hash = (53 * hash) + getGte().hashCode(); } if (hasLtNow()) { hash = (37 * hash) + LT_NOW_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getLtNow()); } if (hasGtNow()) { hash = (37 * hash) + GT_NOW_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getGtNow()); } if (hasWithin()) { hash = (37 * hash) + WITHIN_FIELD_NUMBER; hash = (53 * hash) + getWithin().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.lyft.pgv.validate.Validate.TimestampRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.TimestampRules parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.TimestampRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.TimestampRules parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.TimestampRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.lyft.pgv.validate.Validate.TimestampRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.lyft.pgv.validate.Validate.TimestampRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.TimestampRules 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.lyft.pgv.validate.Validate.TimestampRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.TimestampRules 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.lyft.pgv.validate.Validate.TimestampRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.lyft.pgv.validate.Validate.TimestampRules 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.lyft.pgv.validate.Validate.TimestampRules 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; } /** *
     * TimestampRules describe the constraints applied exclusively to the
     * `google.protobuf.Timestamp` well-known type
     * 
* * Protobuf type {@code validate.TimestampRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:validate.TimestampRules) com.lyft.pgv.validate.Validate.TimestampRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.lyft.pgv.validate.Validate.internal_static_validate_TimestampRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.lyft.pgv.validate.Validate.internal_static_validate_TimestampRules_fieldAccessorTable .ensureFieldAccessorsInitialized( com.lyft.pgv.validate.Validate.TimestampRules.class, com.lyft.pgv.validate.Validate.TimestampRules.Builder.class); } // Construct using com.lyft.pgv.validate.Validate.TimestampRules.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getConstFieldBuilder(); getLtFieldBuilder(); getLteFieldBuilder(); getGtFieldBuilder(); getGteFieldBuilder(); getWithinFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); required_ = false; bitField0_ = (bitField0_ & ~0x00000001); if (constBuilder_ == null) { const_ = null; } else { constBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (ltBuilder_ == null) { lt_ = null; } else { ltBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (lteBuilder_ == null) { lte_ = null; } else { lteBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (gtBuilder_ == null) { gt_ = null; } else { gtBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (gteBuilder_ == null) { gte_ = null; } else { gteBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); ltNow_ = false; bitField0_ = (bitField0_ & ~0x00000040); gtNow_ = false; bitField0_ = (bitField0_ & ~0x00000080); if (withinBuilder_ == null) { within_ = null; } else { withinBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.lyft.pgv.validate.Validate.internal_static_validate_TimestampRules_descriptor; } @java.lang.Override public com.lyft.pgv.validate.Validate.TimestampRules getDefaultInstanceForType() { return com.lyft.pgv.validate.Validate.TimestampRules.getDefaultInstance(); } @java.lang.Override public com.lyft.pgv.validate.Validate.TimestampRules build() { com.lyft.pgv.validate.Validate.TimestampRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.lyft.pgv.validate.Validate.TimestampRules buildPartial() { com.lyft.pgv.validate.Validate.TimestampRules result = new com.lyft.pgv.validate.Validate.TimestampRules(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.required_ = required_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (constBuilder_ == null) { result.const_ = const_; } else { result.const_ = constBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (ltBuilder_ == null) { result.lt_ = lt_; } else { result.lt_ = ltBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (lteBuilder_ == null) { result.lte_ = lte_; } else { result.lte_ = lteBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { if (gtBuilder_ == null) { result.gt_ = gt_; } else { result.gt_ = gtBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { if (gteBuilder_ == null) { result.gte_ = gte_; } else { result.gte_ = gteBuilder_.build(); } to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.ltNow_ = ltNow_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.gtNow_ = gtNow_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { if (withinBuilder_ == null) { result.within_ = within_; } else { result.within_ = withinBuilder_.build(); } to_bitField0_ |= 0x00000100; } result.bitField0_ = to_bitField0_; 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.lyft.pgv.validate.Validate.TimestampRules) { return mergeFrom((com.lyft.pgv.validate.Validate.TimestampRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.lyft.pgv.validate.Validate.TimestampRules other) { if (other == com.lyft.pgv.validate.Validate.TimestampRules.getDefaultInstance()) return this; if (other.hasRequired()) { setRequired(other.getRequired()); } if (other.hasConst()) { mergeConst(other.getConst()); } if (other.hasLt()) { mergeLt(other.getLt()); } if (other.hasLte()) { mergeLte(other.getLte()); } if (other.hasGt()) { mergeGt(other.getGt()); } if (other.hasGte()) { mergeGte(other.getGte()); } if (other.hasLtNow()) { setLtNow(other.getLtNow()); } if (other.hasGtNow()) { setGtNow(other.getGtNow()); } if (other.hasWithin()) { mergeWithin(other.getWithin()); } 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.lyft.pgv.validate.Validate.TimestampRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.lyft.pgv.validate.Validate.TimestampRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean required_ ; /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public boolean hasRequired() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public boolean getRequired() { return required_; } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public Builder setRequired(boolean value) { bitField0_ |= 0x00000001; required_ = value; onChanged(); return this; } /** *
       * Required specifies that this field must be set
       * 
* * optional bool required = 1; */ public Builder clearRequired() { bitField0_ = (bitField0_ & ~0x00000001); required_ = false; onChanged(); return this; } private com.google.protobuf.Timestamp const_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> constBuilder_; /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Timestamp const = 2; */ public boolean hasConst() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Timestamp const = 2; */ public com.google.protobuf.Timestamp getConst() { if (constBuilder_ == null) { return const_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : const_; } else { return constBuilder_.getMessage(); } } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Timestamp const = 2; */ public Builder setConst(com.google.protobuf.Timestamp value) { if (constBuilder_ == null) { if (value == null) { throw new NullPointerException(); } const_ = value; onChanged(); } else { constBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Timestamp const = 2; */ public Builder setConst( com.google.protobuf.Timestamp.Builder builderForValue) { if (constBuilder_ == null) { const_ = builderForValue.build(); onChanged(); } else { constBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Timestamp const = 2; */ public Builder mergeConst(com.google.protobuf.Timestamp value) { if (constBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && const_ != null && const_ != com.google.protobuf.Timestamp.getDefaultInstance()) { const_ = com.google.protobuf.Timestamp.newBuilder(const_).mergeFrom(value).buildPartial(); } else { const_ = value; } onChanged(); } else { constBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Timestamp const = 2; */ public Builder clearConst() { if (constBuilder_ == null) { const_ = null; onChanged(); } else { constBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Timestamp const = 2; */ public com.google.protobuf.Timestamp.Builder getConstBuilder() { bitField0_ |= 0x00000002; onChanged(); return getConstFieldBuilder().getBuilder(); } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Timestamp const = 2; */ public com.google.protobuf.TimestampOrBuilder getConstOrBuilder() { if (constBuilder_ != null) { return constBuilder_.getMessageOrBuilder(); } else { return const_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : const_; } } /** *
       * Const specifies that this field must be exactly the specified value
       * 
* * optional .google.protobuf.Timestamp const = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getConstFieldBuilder() { if (constBuilder_ == null) { constBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getConst(), getParentForChildren(), isClean()); const_ = null; } return constBuilder_; } private com.google.protobuf.Timestamp lt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> ltBuilder_; /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp lt = 3; */ public boolean hasLt() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp lt = 3; */ public com.google.protobuf.Timestamp getLt() { if (ltBuilder_ == null) { return lt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lt_; } else { return ltBuilder_.getMessage(); } } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp lt = 3; */ public Builder setLt(com.google.protobuf.Timestamp value) { if (ltBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lt_ = value; onChanged(); } else { ltBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp lt = 3; */ public Builder setLt( com.google.protobuf.Timestamp.Builder builderForValue) { if (ltBuilder_ == null) { lt_ = builderForValue.build(); onChanged(); } else { ltBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp lt = 3; */ public Builder mergeLt(com.google.protobuf.Timestamp value) { if (ltBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && lt_ != null && lt_ != com.google.protobuf.Timestamp.getDefaultInstance()) { lt_ = com.google.protobuf.Timestamp.newBuilder(lt_).mergeFrom(value).buildPartial(); } else { lt_ = value; } onChanged(); } else { ltBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp lt = 3; */ public Builder clearLt() { if (ltBuilder_ == null) { lt_ = null; onChanged(); } else { ltBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp lt = 3; */ public com.google.protobuf.Timestamp.Builder getLtBuilder() { bitField0_ |= 0x00000004; onChanged(); return getLtFieldBuilder().getBuilder(); } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp lt = 3; */ public com.google.protobuf.TimestampOrBuilder getLtOrBuilder() { if (ltBuilder_ != null) { return ltBuilder_.getMessageOrBuilder(); } else { return lt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lt_; } } /** *
       * Lt specifies that this field must be less than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp lt = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLtFieldBuilder() { if (ltBuilder_ == null) { ltBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLt(), getParentForChildren(), isClean()); lt_ = null; } return ltBuilder_; } private com.google.protobuf.Timestamp lte_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lteBuilder_; /** *
       * Lte specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp lte = 4; */ public boolean hasLte() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Lte specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp lte = 4; */ public com.google.protobuf.Timestamp getLte() { if (lteBuilder_ == null) { return lte_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lte_; } else { return lteBuilder_.getMessage(); } } /** *
       * Lte specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp lte = 4; */ public Builder setLte(com.google.protobuf.Timestamp value) { if (lteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lte_ = value; onChanged(); } else { lteBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** *
       * Lte specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp lte = 4; */ public Builder setLte( com.google.protobuf.Timestamp.Builder builderForValue) { if (lteBuilder_ == null) { lte_ = builderForValue.build(); onChanged(); } else { lteBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
       * Lte specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp lte = 4; */ public Builder mergeLte(com.google.protobuf.Timestamp value) { if (lteBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && lte_ != null && lte_ != com.google.protobuf.Timestamp.getDefaultInstance()) { lte_ = com.google.protobuf.Timestamp.newBuilder(lte_).mergeFrom(value).buildPartial(); } else { lte_ = value; } onChanged(); } else { lteBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** *
       * Lte specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp lte = 4; */ public Builder clearLte() { if (lteBuilder_ == null) { lte_ = null; onChanged(); } else { lteBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
       * Lte specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp lte = 4; */ public com.google.protobuf.Timestamp.Builder getLteBuilder() { bitField0_ |= 0x00000008; onChanged(); return getLteFieldBuilder().getBuilder(); } /** *
       * Lte specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp lte = 4; */ public com.google.protobuf.TimestampOrBuilder getLteOrBuilder() { if (lteBuilder_ != null) { return lteBuilder_.getMessageOrBuilder(); } else { return lte_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lte_; } } /** *
       * Lte specifies that this field must be less than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp lte = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLteFieldBuilder() { if (lteBuilder_ == null) { lteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLte(), getParentForChildren(), isClean()); lte_ = null; } return lteBuilder_; } private com.google.protobuf.Timestamp gt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> gtBuilder_; /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp gt = 5; */ public boolean hasGt() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp gt = 5; */ public com.google.protobuf.Timestamp getGt() { if (gtBuilder_ == null) { return gt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : gt_; } else { return gtBuilder_.getMessage(); } } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp gt = 5; */ public Builder setGt(com.google.protobuf.Timestamp value) { if (gtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gt_ = value; onChanged(); } else { gtBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp gt = 5; */ public Builder setGt( com.google.protobuf.Timestamp.Builder builderForValue) { if (gtBuilder_ == null) { gt_ = builderForValue.build(); onChanged(); } else { gtBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp gt = 5; */ public Builder mergeGt(com.google.protobuf.Timestamp value) { if (gtBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && gt_ != null && gt_ != com.google.protobuf.Timestamp.getDefaultInstance()) { gt_ = com.google.protobuf.Timestamp.newBuilder(gt_).mergeFrom(value).buildPartial(); } else { gt_ = value; } onChanged(); } else { gtBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp gt = 5; */ public Builder clearGt() { if (gtBuilder_ == null) { gt_ = null; onChanged(); } else { gtBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp gt = 5; */ public com.google.protobuf.Timestamp.Builder getGtBuilder() { bitField0_ |= 0x00000010; onChanged(); return getGtFieldBuilder().getBuilder(); } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp gt = 5; */ public com.google.protobuf.TimestampOrBuilder getGtOrBuilder() { if (gtBuilder_ != null) { return gtBuilder_.getMessageOrBuilder(); } else { return gt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : gt_; } } /** *
       * Gt specifies that this field must be greater than the specified value,
       * exclusive
       * 
* * optional .google.protobuf.Timestamp gt = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getGtFieldBuilder() { if (gtBuilder_ == null) { gtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getGt(), getParentForChildren(), isClean()); gt_ = null; } return gtBuilder_; } private com.google.protobuf.Timestamp gte_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> gteBuilder_; /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp gte = 6; */ public boolean hasGte() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp gte = 6; */ public com.google.protobuf.Timestamp getGte() { if (gteBuilder_ == null) { return gte_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : gte_; } else { return gteBuilder_.getMessage(); } } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp gte = 6; */ public Builder setGte(com.google.protobuf.Timestamp value) { if (gteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gte_ = value; onChanged(); } else { gteBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp gte = 6; */ public Builder setGte( com.google.protobuf.Timestamp.Builder builderForValue) { if (gteBuilder_ == null) { gte_ = builderForValue.build(); onChanged(); } else { gteBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp gte = 6; */ public Builder mergeGte(com.google.protobuf.Timestamp value) { if (gteBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && gte_ != null && gte_ != com.google.protobuf.Timestamp.getDefaultInstance()) { gte_ = com.google.protobuf.Timestamp.newBuilder(gte_).mergeFrom(value).buildPartial(); } else { gte_ = value; } onChanged(); } else { gteBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp gte = 6; */ public Builder clearGte() { if (gteBuilder_ == null) { gte_ = null; onChanged(); } else { gteBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp gte = 6; */ public com.google.protobuf.Timestamp.Builder getGteBuilder() { bitField0_ |= 0x00000020; onChanged(); return getGteFieldBuilder().getBuilder(); } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp gte = 6; */ public com.google.protobuf.TimestampOrBuilder getGteOrBuilder() { if (gteBuilder_ != null) { return gteBuilder_.getMessageOrBuilder(); } else { return gte_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : gte_; } } /** *
       * Gte specifies that this field must be greater than the specified value,
       * inclusive
       * 
* * optional .google.protobuf.Timestamp gte = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getGteFieldBuilder() { if (gteBuilder_ == null) { gteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getGte(), getParentForChildren(), isClean()); gte_ = null; } return gteBuilder_; } private boolean ltNow_ ; /** *
       * LtNow specifies that this must be less than the current time. LtNow
       * can only be used with the Within rule.
       * 
* * optional bool lt_now = 7; */ public boolean hasLtNow() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * LtNow specifies that this must be less than the current time. LtNow
       * can only be used with the Within rule.
       * 
* * optional bool lt_now = 7; */ public boolean getLtNow() { return ltNow_; } /** *
       * LtNow specifies that this must be less than the current time. LtNow
       * can only be used with the Within rule.
       * 
* * optional bool lt_now = 7; */ public Builder setLtNow(boolean value) { bitField0_ |= 0x00000040; ltNow_ = value; onChanged(); return this; } /** *
       * LtNow specifies that this must be less than the current time. LtNow
       * can only be used with the Within rule.
       * 
* * optional bool lt_now = 7; */ public Builder clearLtNow() { bitField0_ = (bitField0_ & ~0x00000040); ltNow_ = false; onChanged(); return this; } private boolean gtNow_ ; /** *
       * GtNow specifies that this must be greater than the current time. GtNow
       * can only be used with the Within rule.
       * 
* * optional bool gt_now = 8; */ public boolean hasGtNow() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * GtNow specifies that this must be greater than the current time. GtNow
       * can only be used with the Within rule.
       * 
* * optional bool gt_now = 8; */ public boolean getGtNow() { return gtNow_; } /** *
       * GtNow specifies that this must be greater than the current time. GtNow
       * can only be used with the Within rule.
       * 
* * optional bool gt_now = 8; */ public Builder setGtNow(boolean value) { bitField0_ |= 0x00000080; gtNow_ = value; onChanged(); return this; } /** *
       * GtNow specifies that this must be greater than the current time. GtNow
       * can only be used with the Within rule.
       * 
* * optional bool gt_now = 8; */ public Builder clearGtNow() { bitField0_ = (bitField0_ & ~0x00000080); gtNow_ = false; onChanged(); return this; } private com.google.protobuf.Duration within_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> withinBuilder_; /** *
       * Within specifies that this field must be within this duration of the
       * current time. This constraint can be used alone or with the LtNow and
       * GtNow rules.
       * 
* * optional .google.protobuf.Duration within = 9; */ public boolean hasWithin() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Within specifies that this field must be within this duration of the
       * current time. This constraint can be used alone or with the LtNow and
       * GtNow rules.
       * 
* * optional .google.protobuf.Duration within = 9; */ public com.google.protobuf.Duration getWithin() { if (withinBuilder_ == null) { return within_ == null ? com.google.protobuf.Duration.getDefaultInstance() : within_; } else { return withinBuilder_.getMessage(); } } /** *
       * Within specifies that this field must be within this duration of the
       * current time. This constraint can be used alone or with the LtNow and
       * GtNow rules.
       * 
* * optional .google.protobuf.Duration within = 9; */ public Builder setWithin(com.google.protobuf.Duration value) { if (withinBuilder_ == null) { if (value == null) { throw new NullPointerException(); } within_ = value; onChanged(); } else { withinBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** *
       * Within specifies that this field must be within this duration of the
       * current time. This constraint can be used alone or with the LtNow and
       * GtNow rules.
       * 
* * optional .google.protobuf.Duration within = 9; */ public Builder setWithin( com.google.protobuf.Duration.Builder builderForValue) { if (withinBuilder_ == null) { within_ = builderForValue.build(); onChanged(); } else { withinBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** *
       * Within specifies that this field must be within this duration of the
       * current time. This constraint can be used alone or with the LtNow and
       * GtNow rules.
       * 
* * optional .google.protobuf.Duration within = 9; */ public Builder mergeWithin(com.google.protobuf.Duration value) { if (withinBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && within_ != null && within_ != com.google.protobuf.Duration.getDefaultInstance()) { within_ = com.google.protobuf.Duration.newBuilder(within_).mergeFrom(value).buildPartial(); } else { within_ = value; } onChanged(); } else { withinBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** *
       * Within specifies that this field must be within this duration of the
       * current time. This constraint can be used alone or with the LtNow and
       * GtNow rules.
       * 
* * optional .google.protobuf.Duration within = 9; */ public Builder clearWithin() { if (withinBuilder_ == null) { within_ = null; onChanged(); } else { withinBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** *
       * Within specifies that this field must be within this duration of the
       * current time. This constraint can be used alone or with the LtNow and
       * GtNow rules.
       * 
* * optional .google.protobuf.Duration within = 9; */ public com.google.protobuf.Duration.Builder getWithinBuilder() { bitField0_ |= 0x00000100; onChanged(); return getWithinFieldBuilder().getBuilder(); } /** *
       * Within specifies that this field must be within this duration of the
       * current time. This constraint can be used alone or with the LtNow and
       * GtNow rules.
       * 
* * optional .google.protobuf.Duration within = 9; */ public com.google.protobuf.DurationOrBuilder getWithinOrBuilder() { if (withinBuilder_ != null) { return withinBuilder_.getMessageOrBuilder(); } else { return within_ == null ? com.google.protobuf.Duration.getDefaultInstance() : within_; } } /** *
       * Within specifies that this field must be within this duration of the
       * current time. This constraint can be used alone or with the LtNow and
       * GtNow rules.
       * 
* * optional .google.protobuf.Duration within = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getWithinFieldBuilder() { if (withinBuilder_ == null) { withinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getWithin(), getParentForChildren(), isClean()); within_ = null; } return withinBuilder_; } @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:validate.TimestampRules) } // @@protoc_insertion_point(class_scope:validate.TimestampRules) private static final com.lyft.pgv.validate.Validate.TimestampRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.lyft.pgv.validate.Validate.TimestampRules(); } public static com.lyft.pgv.validate.Validate.TimestampRules getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TimestampRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TimestampRules(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.lyft.pgv.validate.Validate.TimestampRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int DISABLED_FIELD_NUMBER = 919191; /** *
   * Disabled nullifies any validation rules for this message, including any
   * message fields associated with it that do support validation.
   * 
* * extend .google.protobuf.MessageOptions { ... } */ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.MessageOptions, java.lang.Boolean> disabled = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( java.lang.Boolean.class, null); public static final int REQUIRED_FIELD_NUMBER = 919191; /** *
   * Required ensures that exactly one the field options in a oneof is set;
   * validation fails if no fields in the oneof are set.
   * 
* * extend .google.protobuf.OneofOptions { ... } */ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.OneofOptions, java.lang.Boolean> required = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( java.lang.Boolean.class, null); public static final int RULES_FIELD_NUMBER = 919191; /** *
   * Rules specify the validations to be performed on this field. By default,
   * no validation is performed against a field.
   * 
* * extend .google.protobuf.FieldOptions { ... } */ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.FieldOptions, com.lyft.pgv.validate.Validate.FieldRules> rules = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( com.lyft.pgv.validate.Validate.FieldRules.class, com.lyft.pgv.validate.Validate.FieldRules.getDefaultInstance()); private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_FieldRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_FieldRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_FloatRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_FloatRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_DoubleRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_DoubleRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_Int32Rules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_Int32Rules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_Int64Rules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_Int64Rules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_UInt32Rules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_UInt32Rules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_UInt64Rules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_UInt64Rules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_SInt32Rules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_SInt32Rules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_SInt64Rules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_SInt64Rules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_Fixed32Rules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_Fixed32Rules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_Fixed64Rules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_Fixed64Rules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_SFixed32Rules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_SFixed32Rules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_SFixed64Rules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_SFixed64Rules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_BoolRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_BoolRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_StringRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_StringRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_BytesRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_BytesRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_EnumRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_EnumRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_MessageRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_MessageRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_RepeatedRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_RepeatedRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_MapRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_MapRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_AnyRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_AnyRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_DurationRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_DurationRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_validate_TimestampRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_validate_TimestampRules_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\027validate/validate.proto\022\010validate\032 goo" + "gle/protobuf/descriptor.proto\032\036google/pr" + "otobuf/duration.proto\032\037google/protobuf/t" + "imestamp.proto\"\232\007\n\nFieldRules\022%\n\005float\030\001" + " \001(\0132\024.validate.FloatRulesH\000\022\'\n\006double\030\002" + " \001(\0132\025.validate.DoubleRulesH\000\022%\n\005int32\030\003" + " \001(\0132\024.validate.Int32RulesH\000\022%\n\005int64\030\004 " + "\001(\0132\024.validate.Int64RulesH\000\022\'\n\006uint32\030\005 " + "\001(\0132\025.validate.UInt32RulesH\000\022\'\n\006uint64\030\006" + " \001(\0132\025.validate.UInt64RulesH\000\022\'\n\006sint32\030" + "\007 \001(\0132\025.validate.SInt32RulesH\000\022\'\n\006sint64" + "\030\010 \001(\0132\025.validate.SInt64RulesH\000\022)\n\007fixed" + "32\030\t \001(\0132\026.validate.Fixed32RulesH\000\022)\n\007fi" + "xed64\030\n \001(\0132\026.validate.Fixed64RulesH\000\022+\n" + "\010sfixed32\030\013 \001(\0132\027.validate.SFixed32Rules" + "H\000\022+\n\010sfixed64\030\014 \001(\0132\027.validate.SFixed64" + "RulesH\000\022#\n\004bool\030\r \001(\0132\023.validate.BoolRul" + "esH\000\022\'\n\006string\030\016 \001(\0132\025.validate.StringRu" + "lesH\000\022%\n\005bytes\030\017 \001(\0132\024.validate.BytesRul" + "esH\000\022#\n\004enum\030\020 \001(\0132\023.validate.EnumRulesH" + "\000\022)\n\007message\030\021 \001(\0132\026.validate.MessageRul" + "esH\000\022+\n\010repeated\030\022 \001(\0132\027.validate.Repeat" + "edRulesH\000\022!\n\003map\030\023 \001(\0132\022.validate.MapRul" + "esH\000\022!\n\003any\030\024 \001(\0132\022.validate.AnyRulesH\000\022" + "+\n\010duration\030\025 \001(\0132\027.validate.DurationRul" + "esH\000\022-\n\ttimestamp\030\026 \001(\0132\030.validate.Times" + "tampRulesH\000B\006\n\004type\"i\n\nFloatRules\022\r\n\005con" + "st\030\001 \001(\002\022\n\n\002lt\030\002 \001(\002\022\013\n\003lte\030\003 \001(\002\022\n\n\002gt\030" + "\004 \001(\002\022\013\n\003gte\030\005 \001(\002\022\n\n\002in\030\006 \003(\002\022\016\n\006not_in" + "\030\007 \003(\002\"j\n\013DoubleRules\022\r\n\005const\030\001 \001(\001\022\n\n\002" + "lt\030\002 \001(\001\022\013\n\003lte\030\003 \001(\001\022\n\n\002gt\030\004 \001(\001\022\013\n\003gte" + "\030\005 \001(\001\022\n\n\002in\030\006 \003(\001\022\016\n\006not_in\030\007 \003(\001\"i\n\nIn" + "t32Rules\022\r\n\005const\030\001 \001(\005\022\n\n\002lt\030\002 \001(\005\022\013\n\003l" + "te\030\003 \001(\005\022\n\n\002gt\030\004 \001(\005\022\013\n\003gte\030\005 \001(\005\022\n\n\002in\030" + "\006 \003(\005\022\016\n\006not_in\030\007 \003(\005\"i\n\nInt64Rules\022\r\n\005c" + "onst\030\001 \001(\003\022\n\n\002lt\030\002 \001(\003\022\013\n\003lte\030\003 \001(\003\022\n\n\002g" + "t\030\004 \001(\003\022\013\n\003gte\030\005 \001(\003\022\n\n\002in\030\006 \003(\003\022\016\n\006not_" + "in\030\007 \003(\003\"j\n\013UInt32Rules\022\r\n\005const\030\001 \001(\r\022\n" + "\n\002lt\030\002 \001(\r\022\013\n\003lte\030\003 \001(\r\022\n\n\002gt\030\004 \001(\r\022\013\n\003g" + "te\030\005 \001(\r\022\n\n\002in\030\006 \003(\r\022\016\n\006not_in\030\007 \003(\r\"j\n\013" + "UInt64Rules\022\r\n\005const\030\001 \001(\004\022\n\n\002lt\030\002 \001(\004\022\013" + "\n\003lte\030\003 \001(\004\022\n\n\002gt\030\004 \001(\004\022\013\n\003gte\030\005 \001(\004\022\n\n\002" + "in\030\006 \003(\004\022\016\n\006not_in\030\007 \003(\004\"j\n\013SInt32Rules\022" + "\r\n\005const\030\001 \001(\021\022\n\n\002lt\030\002 \001(\021\022\013\n\003lte\030\003 \001(\021\022" + "\n\n\002gt\030\004 \001(\021\022\013\n\003gte\030\005 \001(\021\022\n\n\002in\030\006 \003(\021\022\016\n\006" + "not_in\030\007 \003(\021\"j\n\013SInt64Rules\022\r\n\005const\030\001 \001" + "(\022\022\n\n\002lt\030\002 \001(\022\022\013\n\003lte\030\003 \001(\022\022\n\n\002gt\030\004 \001(\022\022" + "\013\n\003gte\030\005 \001(\022\022\n\n\002in\030\006 \003(\022\022\016\n\006not_in\030\007 \003(\022" + "\"k\n\014Fixed32Rules\022\r\n\005const\030\001 \001(\007\022\n\n\002lt\030\002 " + "\001(\007\022\013\n\003lte\030\003 \001(\007\022\n\n\002gt\030\004 \001(\007\022\013\n\003gte\030\005 \001(" + "\007\022\n\n\002in\030\006 \003(\007\022\016\n\006not_in\030\007 \003(\007\"k\n\014Fixed64" + "Rules\022\r\n\005const\030\001 \001(\006\022\n\n\002lt\030\002 \001(\006\022\013\n\003lte\030" + "\003 \001(\006\022\n\n\002gt\030\004 \001(\006\022\013\n\003gte\030\005 \001(\006\022\n\n\002in\030\006 \003" + "(\006\022\016\n\006not_in\030\007 \003(\006\"l\n\rSFixed32Rules\022\r\n\005c" + "onst\030\001 \001(\017\022\n\n\002lt\030\002 \001(\017\022\013\n\003lte\030\003 \001(\017\022\n\n\002g" + "t\030\004 \001(\017\022\013\n\003gte\030\005 \001(\017\022\n\n\002in\030\006 \003(\017\022\016\n\006not_" + "in\030\007 \003(\017\"l\n\rSFixed64Rules\022\r\n\005const\030\001 \001(\020" + "\022\n\n\002lt\030\002 \001(\020\022\013\n\003lte\030\003 \001(\020\022\n\n\002gt\030\004 \001(\020\022\013\n" + "\003gte\030\005 \001(\020\022\n\n\002in\030\006 \003(\020\022\016\n\006not_in\030\007 \003(\020\"\032" + "\n\tBoolRules\022\r\n\005const\030\001 \001(\010\"\346\002\n\013StringRul" + "es\022\r\n\005const\030\001 \001(\t\022\013\n\003len\030\023 \001(\004\022\017\n\007min_le" + "n\030\002 \001(\004\022\017\n\007max_len\030\003 \001(\004\022\021\n\tlen_bytes\030\024 " + "\001(\004\022\021\n\tmin_bytes\030\004 \001(\004\022\021\n\tmax_bytes\030\005 \001(" + "\004\022\017\n\007pattern\030\006 \001(\t\022\016\n\006prefix\030\007 \001(\t\022\016\n\006su" + "ffix\030\010 \001(\t\022\020\n\010contains\030\t \001(\t\022\n\n\002in\030\n \003(\t" + "\022\016\n\006not_in\030\013 \003(\t\022\017\n\005email\030\014 \001(\010H\000\022\022\n\010hos" + "tname\030\r \001(\010H\000\022\014\n\002ip\030\016 \001(\010H\000\022\016\n\004ipv4\030\017 \001(" + "\010H\000\022\016\n\004ipv6\030\020 \001(\010H\000\022\r\n\003uri\030\021 \001(\010H\000\022\021\n\007ur" + "i_ref\030\022 \001(\010H\000B\014\n\nwell_known\"\345\001\n\nBytesRul" + "es\022\r\n\005const\030\001 \001(\014\022\013\n\003len\030\r \001(\004\022\017\n\007min_le" + "n\030\002 \001(\004\022\017\n\007max_len\030\003 \001(\004\022\017\n\007pattern\030\004 \001(" + "\t\022\016\n\006prefix\030\005 \001(\014\022\016\n\006suffix\030\006 \001(\014\022\020\n\010con" + "tains\030\007 \001(\014\022\n\n\002in\030\010 \003(\014\022\016\n\006not_in\030\t \003(\014\022" + "\014\n\002ip\030\n \001(\010H\000\022\016\n\004ipv4\030\013 \001(\010H\000\022\016\n\004ipv6\030\014 " + "\001(\010H\000B\014\n\nwell_known\"L\n\tEnumRules\022\r\n\005cons" + "t\030\001 \001(\005\022\024\n\014defined_only\030\002 \001(\010\022\n\n\002in\030\003 \003(" + "\005\022\016\n\006not_in\030\004 \003(\005\".\n\014MessageRules\022\014\n\004ski" + "p\030\001 \001(\010\022\020\n\010required\030\002 \001(\010\"j\n\rRepeatedRul" + "es\022\021\n\tmin_items\030\001 \001(\004\022\021\n\tmax_items\030\002 \001(\004" + "\022\016\n\006unique\030\003 \001(\010\022#\n\005items\030\004 \001(\0132\024.valida" + "te.FieldRules\"\215\001\n\010MapRules\022\021\n\tmin_pairs\030" + "\001 \001(\004\022\021\n\tmax_pairs\030\002 \001(\004\022\021\n\tno_sparse\030\003 " + "\001(\010\022\"\n\004keys\030\004 \001(\0132\024.validate.FieldRules\022" + "$\n\006values\030\005 \001(\0132\024.validate.FieldRules\"8\n" + "\010AnyRules\022\020\n\010required\030\001 \001(\010\022\n\n\002in\030\002 \003(\t\022" + "\016\n\006not_in\030\003 \003(\t\"\273\002\n\rDurationRules\022\020\n\010req" + "uired\030\001 \001(\010\022(\n\005const\030\002 \001(\0132\031.google.prot" + "obuf.Duration\022%\n\002lt\030\003 \001(\0132\031.google.proto" + "buf.Duration\022&\n\003lte\030\004 \001(\0132\031.google.proto" + "buf.Duration\022%\n\002gt\030\005 \001(\0132\031.google.protob" + "uf.Duration\022&\n\003gte\030\006 \001(\0132\031.google.protob" + "uf.Duration\022%\n\002in\030\007 \003(\0132\031.google.protobu" + "f.Duration\022)\n\006not_in\030\010 \003(\0132\031.google.prot" + "obuf.Duration\"\272\002\n\016TimestampRules\022\020\n\010requ" + "ired\030\001 \001(\010\022)\n\005const\030\002 \001(\0132\032.google.proto" + "buf.Timestamp\022&\n\002lt\030\003 \001(\0132\032.google.proto" + "buf.Timestamp\022\'\n\003lte\030\004 \001(\0132\032.google.prot" + "obuf.Timestamp\022&\n\002gt\030\005 \001(\0132\032.google.prot" + "obuf.Timestamp\022\'\n\003gte\030\006 \001(\0132\032.google.pro" + "tobuf.Timestamp\022\016\n\006lt_now\030\007 \001(\010\022\016\n\006gt_no" + "w\030\010 \001(\010\022)\n\006within\030\t \001(\0132\031.google.protobu" + "f.Duration:3\n\010disabled\022\037.google.protobuf" + ".MessageOptions\030\227\2158 \001(\010:1\n\010required\022\035.go" + "ogle.protobuf.OneofOptions\030\227\2158 \001(\010:D\n\005ru" + "les\022\035.google.protobuf.FieldOptions\030\227\2158 \001" + "(\0132\024.validate.FieldRulesBE\n\025com.lyft.pgv" + ".validateZ,github.com/lyft/protoc-gen-va" + "lidate/validate" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DescriptorProtos.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_validate_FieldRules_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_validate_FieldRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_FieldRules_descriptor, new java.lang.String[] { "Float", "Double", "Int32", "Int64", "Uint32", "Uint64", "Sint32", "Sint64", "Fixed32", "Fixed64", "Sfixed32", "Sfixed64", "Bool", "String", "Bytes", "Enum", "Message", "Repeated", "Map", "Any", "Duration", "Timestamp", "Type", }); internal_static_validate_FloatRules_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_validate_FloatRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_FloatRules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_DoubleRules_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_validate_DoubleRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_DoubleRules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_Int32Rules_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_validate_Int32Rules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_Int32Rules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_Int64Rules_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_validate_Int64Rules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_Int64Rules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_UInt32Rules_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_validate_UInt32Rules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_UInt32Rules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_UInt64Rules_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_validate_UInt64Rules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_UInt64Rules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_SInt32Rules_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_validate_SInt32Rules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_SInt32Rules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_SInt64Rules_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_validate_SInt64Rules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_SInt64Rules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_Fixed32Rules_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_validate_Fixed32Rules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_Fixed32Rules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_Fixed64Rules_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_validate_Fixed64Rules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_Fixed64Rules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_SFixed32Rules_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_validate_SFixed32Rules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_SFixed32Rules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_SFixed64Rules_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_validate_SFixed64Rules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_SFixed64Rules_descriptor, new java.lang.String[] { "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_BoolRules_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_validate_BoolRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_BoolRules_descriptor, new java.lang.String[] { "Const", }); internal_static_validate_StringRules_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_validate_StringRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_StringRules_descriptor, new java.lang.String[] { "Const", "Len", "MinLen", "MaxLen", "LenBytes", "MinBytes", "MaxBytes", "Pattern", "Prefix", "Suffix", "Contains", "In", "NotIn", "Email", "Hostname", "Ip", "Ipv4", "Ipv6", "Uri", "UriRef", "WellKnown", }); internal_static_validate_BytesRules_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_validate_BytesRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_BytesRules_descriptor, new java.lang.String[] { "Const", "Len", "MinLen", "MaxLen", "Pattern", "Prefix", "Suffix", "Contains", "In", "NotIn", "Ip", "Ipv4", "Ipv6", "WellKnown", }); internal_static_validate_EnumRules_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_validate_EnumRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_EnumRules_descriptor, new java.lang.String[] { "Const", "DefinedOnly", "In", "NotIn", }); internal_static_validate_MessageRules_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_validate_MessageRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_MessageRules_descriptor, new java.lang.String[] { "Skip", "Required", }); internal_static_validate_RepeatedRules_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_validate_RepeatedRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_RepeatedRules_descriptor, new java.lang.String[] { "MinItems", "MaxItems", "Unique", "Items", }); internal_static_validate_MapRules_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_validate_MapRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_MapRules_descriptor, new java.lang.String[] { "MinPairs", "MaxPairs", "NoSparse", "Keys", "Values", }); internal_static_validate_AnyRules_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_validate_AnyRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_AnyRules_descriptor, new java.lang.String[] { "Required", "In", "NotIn", }); internal_static_validate_DurationRules_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_validate_DurationRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_DurationRules_descriptor, new java.lang.String[] { "Required", "Const", "Lt", "Lte", "Gt", "Gte", "In", "NotIn", }); internal_static_validate_TimestampRules_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_validate_TimestampRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_validate_TimestampRules_descriptor, new java.lang.String[] { "Required", "Const", "Lt", "Lte", "Gt", "Gte", "LtNow", "GtNow", "Within", }); disabled.internalInit(descriptor.getExtensions().get(0)); required.internalInit(descriptor.getExtensions().get(1)); rules.internalInit(descriptor.getExtensions().get(2)); com.google.protobuf.DescriptorProtos.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy