/*
 * Copyright 2025 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: schema/google/showcase/v1beta1/compliance.proto

package com.google.showcase.v1beta1;

/**
 *
 *
 * <pre>
 * ComplianceData is a message used for testing REST transcoding of
 * different data types.
 * </pre>
 *
 * Protobuf type {@code google.showcase.v1beta1.ComplianceData}
 */
public final class ComplianceData extends com.google.protobuf.GeneratedMessageV3
    implements
    // @@protoc_insertion_point(message_implements:google.showcase.v1beta1.ComplianceData)
    ComplianceDataOrBuilder {
  private static final long serialVersionUID = 0L;

  // Use ComplianceData.newBuilder() to construct.
  private ComplianceData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }

  private ComplianceData() {
    fString_ = "";
    fBytes_ = com.google.protobuf.ByteString.EMPTY;
    fKingdom_ = 0;
    pString_ = "";
    pKingdom_ = 0;
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    return new ComplianceData();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    return this.unknownFields;
  }

  private ComplianceData(
      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:
            {
              java.lang.String s = input.readStringRequireUtf8();

              fString_ = s;
              break;
            }
          case 16:
            {
              fInt32_ = input.readInt32();
              break;
            }
          case 24:
            {
              fSint32_ = input.readSInt32();
              break;
            }
          case 37:
            {
              fSfixed32_ = input.readSFixed32();
              break;
            }
          case 40:
            {
              fUint32_ = input.readUInt32();
              break;
            }
          case 53:
            {
              fFixed32_ = input.readFixed32();
              break;
            }
          case 56:
            {
              fInt64_ = input.readInt64();
              break;
            }
          case 64:
            {
              fSint64_ = input.readSInt64();
              break;
            }
          case 73:
            {
              fSfixed64_ = input.readSFixed64();
              break;
            }
          case 80:
            {
              fUint64_ = input.readUInt64();
              break;
            }
          case 89:
            {
              fFixed64_ = input.readFixed64();
              break;
            }
          case 97:
            {
              fDouble_ = input.readDouble();
              break;
            }
          case 109:
            {
              fFloat_ = input.readFloat();
              break;
            }
          case 112:
            {
              fBool_ = input.readBool();
              break;
            }
          case 122:
            {
              fBytes_ = input.readBytes();
              break;
            }
          case 130:
            {
              com.google.showcase.v1beta1.ComplianceDataChild.Builder subBuilder = null;
              if (fChild_ != null) {
                subBuilder = fChild_.toBuilder();
              }
              fChild_ =
                  input.readMessage(
                      com.google.showcase.v1beta1.ComplianceDataChild.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(fChild_);
                fChild_ = subBuilder.buildPartial();
              }

              break;
            }
          case 138:
            {
              java.lang.String s = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              pString_ = s;
              break;
            }
          case 144:
            {
              bitField0_ |= 0x00000002;
              pInt32_ = input.readInt32();
              break;
            }
          case 153:
            {
              bitField0_ |= 0x00000004;
              pDouble_ = input.readDouble();
              break;
            }
          case 160:
            {
              bitField0_ |= 0x00000008;
              pBool_ = input.readBool();
              break;
            }
          case 170:
            {
              com.google.showcase.v1beta1.ComplianceDataChild.Builder subBuilder = null;
              if (((bitField0_ & 0x00000020) != 0)) {
                subBuilder = pChild_.toBuilder();
              }
              pChild_ =
                  input.readMessage(
                      com.google.showcase.v1beta1.ComplianceDataChild.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(pChild_);
                pChild_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000020;
              break;
            }
          case 176:
            {
              int rawValue = input.readEnum();

              fKingdom_ = rawValue;
              break;
            }
          case 184:
            {
              int rawValue = input.readEnum();
              bitField0_ |= 0x00000010;
              pKingdom_ = rawValue;
              break;
            }
          default:
            {
              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (com.google.protobuf.UninitializedMessageException e) {
      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }

  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    return com.google.showcase.v1beta1.ComplianceOuterClass
        .internal_static_google_showcase_v1beta1_ComplianceData_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.showcase.v1beta1.ComplianceOuterClass
        .internal_static_google_showcase_v1beta1_ComplianceData_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.showcase.v1beta1.ComplianceData.class,
            com.google.showcase.v1beta1.ComplianceData.Builder.class);
  }

  /** Protobuf enum {@code google.showcase.v1beta1.ComplianceData.LifeKingdom} */
  public enum LifeKingdom implements com.google.protobuf.ProtocolMessageEnum {
    /** <code>LIFE_KINGDOM_UNSPECIFIED = 0;</code> */
    LIFE_KINGDOM_UNSPECIFIED(0),
    /** <code>ARCHAEBACTERIA = 1;</code> */
    ARCHAEBACTERIA(1),
    /** <code>EUBACTERIA = 2;</code> */
    EUBACTERIA(2),
    /** <code>PROTISTA = 3;</code> */
    PROTISTA(3),
    /** <code>FUNGI = 4;</code> */
    FUNGI(4),
    /** <code>PLANTAE = 5;</code> */
    PLANTAE(5),
    /** <code>ANIMALIA = 6;</code> */
    ANIMALIA(6),
    UNRECOGNIZED(-1),
    ;

    /** <code>LIFE_KINGDOM_UNSPECIFIED = 0;</code> */
    public static final int LIFE_KINGDOM_UNSPECIFIED_VALUE = 0;

    /** <code>ARCHAEBACTERIA = 1;</code> */
    public static final int ARCHAEBACTERIA_VALUE = 1;

    /** <code>EUBACTERIA = 2;</code> */
    public static final int EUBACTERIA_VALUE = 2;

    /** <code>PROTISTA = 3;</code> */
    public static final int PROTISTA_VALUE = 3;

    /** <code>FUNGI = 4;</code> */
    public static final int FUNGI_VALUE = 4;

    /** <code>PLANTAE = 5;</code> */
    public static final int PLANTAE_VALUE = 5;

    /** <code>ANIMALIA = 6;</code> */
    public static final int ANIMALIA_VALUE = 6;

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

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

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static LifeKingdom forNumber(int value) {
      switch (value) {
        case 0:
          return LIFE_KINGDOM_UNSPECIFIED;
        case 1:
          return ARCHAEBACTERIA;
        case 2:
          return EUBACTERIA;
        case 3:
          return PROTISTA;
        case 4:
          return FUNGI;
        case 5:
          return PLANTAE;
        case 6:
          return ANIMALIA;
        default:
          return null;
      }
    }

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

    private static final com.google.protobuf.Internal.EnumLiteMap<LifeKingdom> internalValueMap =
        new com.google.protobuf.Internal.EnumLiteMap<LifeKingdom>() {
          public LifeKingdom findValueByNumber(int number) {
            return LifeKingdom.forNumber(number);
          }
        };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }

    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
      return getDescriptor();
    }

    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
      return com.google.showcase.v1beta1.ComplianceData.getDescriptor().getEnumTypes().get(0);
    }

    private static final LifeKingdom[] VALUES = values();

    public static LifeKingdom valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private LifeKingdom(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:google.showcase.v1beta1.ComplianceData.LifeKingdom)
  }

  private int bitField0_;
  public static final int F_STRING_FIELD_NUMBER = 1;
  private volatile java.lang.Object fString_;

  /**
   * <code>string f_string = 1;</code>
   *
   * @return The fString.
   */
  @java.lang.Override
  public java.lang.String getFString() {
    java.lang.Object ref = fString_;
    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();
      fString_ = s;
      return s;
    }
  }

  /**
   * <code>string f_string = 1;</code>
   *
   * @return The bytes for fString.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getFStringBytes() {
    java.lang.Object ref = fString_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      fString_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int F_INT32_FIELD_NUMBER = 2;
  private int fInt32_;

  /**
   * <code>int32 f_int32 = 2;</code>
   *
   * @return The fInt32.
   */
  @java.lang.Override
  public int getFInt32() {
    return fInt32_;
  }

  public static final int F_SINT32_FIELD_NUMBER = 3;
  private int fSint32_;

  /**
   * <code>sint32 f_sint32 = 3;</code>
   *
   * @return The fSint32.
   */
  @java.lang.Override
  public int getFSint32() {
    return fSint32_;
  }

  public static final int F_SFIXED32_FIELD_NUMBER = 4;
  private int fSfixed32_;

  /**
   * <code>sfixed32 f_sfixed32 = 4;</code>
   *
   * @return The fSfixed32.
   */
  @java.lang.Override
  public int getFSfixed32() {
    return fSfixed32_;
  }

  public static final int F_UINT32_FIELD_NUMBER = 5;
  private int fUint32_;

  /**
   * <code>uint32 f_uint32 = 5;</code>
   *
   * @return The fUint32.
   */
  @java.lang.Override
  public int getFUint32() {
    return fUint32_;
  }

  public static final int F_FIXED32_FIELD_NUMBER = 6;
  private int fFixed32_;

  /**
   * <code>fixed32 f_fixed32 = 6;</code>
   *
   * @return The fFixed32.
   */
  @java.lang.Override
  public int getFFixed32() {
    return fFixed32_;
  }

  public static final int F_INT64_FIELD_NUMBER = 7;
  private long fInt64_;

  /**
   * <code>int64 f_int64 = 7;</code>
   *
   * @return The fInt64.
   */
  @java.lang.Override
  public long getFInt64() {
    return fInt64_;
  }

  public static final int F_SINT64_FIELD_NUMBER = 8;
  private long fSint64_;

  /**
   * <code>sint64 f_sint64 = 8;</code>
   *
   * @return The fSint64.
   */
  @java.lang.Override
  public long getFSint64() {
    return fSint64_;
  }

  public static final int F_SFIXED64_FIELD_NUMBER = 9;
  private long fSfixed64_;

  /**
   * <code>sfixed64 f_sfixed64 = 9;</code>
   *
   * @return The fSfixed64.
   */
  @java.lang.Override
  public long getFSfixed64() {
    return fSfixed64_;
  }

  public static final int F_UINT64_FIELD_NUMBER = 10;
  private long fUint64_;

  /**
   * <code>uint64 f_uint64 = 10;</code>
   *
   * @return The fUint64.
   */
  @java.lang.Override
  public long getFUint64() {
    return fUint64_;
  }

  public static final int F_FIXED64_FIELD_NUMBER = 11;
  private long fFixed64_;

  /**
   * <code>fixed64 f_fixed64 = 11;</code>
   *
   * @return The fFixed64.
   */
  @java.lang.Override
  public long getFFixed64() {
    return fFixed64_;
  }

  public static final int F_DOUBLE_FIELD_NUMBER = 12;
  private double fDouble_;

  /**
   * <code>double f_double = 12;</code>
   *
   * @return The fDouble.
   */
  @java.lang.Override
  public double getFDouble() {
    return fDouble_;
  }

  public static final int F_FLOAT_FIELD_NUMBER = 13;
  private float fFloat_;

  /**
   * <code>float f_float = 13;</code>
   *
   * @return The fFloat.
   */
  @java.lang.Override
  public float getFFloat() {
    return fFloat_;
  }

  public static final int F_BOOL_FIELD_NUMBER = 14;
  private boolean fBool_;

  /**
   * <code>bool f_bool = 14;</code>
   *
   * @return The fBool.
   */
  @java.lang.Override
  public boolean getFBool() {
    return fBool_;
  }

  public static final int F_BYTES_FIELD_NUMBER = 15;
  private com.google.protobuf.ByteString fBytes_;

  /**
   * <code>bytes f_bytes = 15;</code>
   *
   * @return The fBytes.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getFBytes() {
    return fBytes_;
  }

  public static final int F_KINGDOM_FIELD_NUMBER = 22;
  private int fKingdom_;

  /**
   * <code>.google.showcase.v1beta1.ComplianceData.LifeKingdom f_kingdom = 22;</code>
   *
   * @return The enum numeric value on the wire for fKingdom.
   */
  @java.lang.Override
  public int getFKingdomValue() {
    return fKingdom_;
  }

  /**
   * <code>.google.showcase.v1beta1.ComplianceData.LifeKingdom f_kingdom = 22;</code>
   *
   * @return The fKingdom.
   */
  @java.lang.Override
  public com.google.showcase.v1beta1.ComplianceData.LifeKingdom getFKingdom() {
    @SuppressWarnings("deprecation")
    com.google.showcase.v1beta1.ComplianceData.LifeKingdom result =
        com.google.showcase.v1beta1.ComplianceData.LifeKingdom.valueOf(fKingdom_);
    return result == null
        ? com.google.showcase.v1beta1.ComplianceData.LifeKingdom.UNRECOGNIZED
        : result;
  }

  public static final int F_CHILD_FIELD_NUMBER = 16;
  private com.google.showcase.v1beta1.ComplianceDataChild fChild_;

  /**
   * <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code>
   *
   * @return Whether the fChild field is set.
   */
  @java.lang.Override
  public boolean hasFChild() {
    return fChild_ != null;
  }

  /**
   * <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code>
   *
   * @return The fChild.
   */
  @java.lang.Override
  public com.google.showcase.v1beta1.ComplianceDataChild getFChild() {
    return fChild_ == null
        ? com.google.showcase.v1beta1.ComplianceDataChild.getDefaultInstance()
        : fChild_;
  }

  /** <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code> */
  @java.lang.Override
  public com.google.showcase.v1beta1.ComplianceDataChildOrBuilder getFChildOrBuilder() {
    return getFChild();
  }

  public static final int P_STRING_FIELD_NUMBER = 17;
  private volatile java.lang.Object pString_;

  /**
   * <code>optional string p_string = 17;</code>
   *
   * @return Whether the pString field is set.
   */
  @java.lang.Override
  public boolean hasPString() {
    return ((bitField0_ & 0x00000001) != 0);
  }

  /**
   * <code>optional string p_string = 17;</code>
   *
   * @return The pString.
   */
  @java.lang.Override
  public java.lang.String getPString() {
    java.lang.Object ref = pString_;
    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();
      pString_ = s;
      return s;
    }
  }

  /**
   * <code>optional string p_string = 17;</code>
   *
   * @return The bytes for pString.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getPStringBytes() {
    java.lang.Object ref = pString_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      pString_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int P_INT32_FIELD_NUMBER = 18;
  private int pInt32_;

  /**
   * <code>optional int32 p_int32 = 18;</code>
   *
   * @return Whether the pInt32 field is set.
   */
  @java.lang.Override
  public boolean hasPInt32() {
    return ((bitField0_ & 0x00000002) != 0);
  }

  /**
   * <code>optional int32 p_int32 = 18;</code>
   *
   * @return The pInt32.
   */
  @java.lang.Override
  public int getPInt32() {
    return pInt32_;
  }

  public static final int P_DOUBLE_FIELD_NUMBER = 19;
  private double pDouble_;

  /**
   * <code>optional double p_double = 19;</code>
   *
   * @return Whether the pDouble field is set.
   */
  @java.lang.Override
  public boolean hasPDouble() {
    return ((bitField0_ & 0x00000004) != 0);
  }

  /**
   * <code>optional double p_double = 19;</code>
   *
   * @return The pDouble.
   */
  @java.lang.Override
  public double getPDouble() {
    return pDouble_;
  }

  public static final int P_BOOL_FIELD_NUMBER = 20;
  private boolean pBool_;

  /**
   * <code>optional bool p_bool = 20;</code>
   *
   * @return Whether the pBool field is set.
   */
  @java.lang.Override
  public boolean hasPBool() {
    return ((bitField0_ & 0x00000008) != 0);
  }

  /**
   * <code>optional bool p_bool = 20;</code>
   *
   * @return The pBool.
   */
  @java.lang.Override
  public boolean getPBool() {
    return pBool_;
  }

  public static final int P_KINGDOM_FIELD_NUMBER = 23;
  private int pKingdom_;

  /**
   * <code>optional .google.showcase.v1beta1.ComplianceData.LifeKingdom p_kingdom = 23;</code>
   *
   * @return Whether the pKingdom field is set.
   */
  @java.lang.Override
  public boolean hasPKingdom() {
    return ((bitField0_ & 0x00000010) != 0);
  }

  /**
   * <code>optional .google.showcase.v1beta1.ComplianceData.LifeKingdom p_kingdom = 23;</code>
   *
   * @return The enum numeric value on the wire for pKingdom.
   */
  @java.lang.Override
  public int getPKingdomValue() {
    return pKingdom_;
  }

  /**
   * <code>optional .google.showcase.v1beta1.ComplianceData.LifeKingdom p_kingdom = 23;</code>
   *
   * @return The pKingdom.
   */
  @java.lang.Override
  public com.google.showcase.v1beta1.ComplianceData.LifeKingdom getPKingdom() {
    @SuppressWarnings("deprecation")
    com.google.showcase.v1beta1.ComplianceData.LifeKingdom result =
        com.google.showcase.v1beta1.ComplianceData.LifeKingdom.valueOf(pKingdom_);
    return result == null
        ? com.google.showcase.v1beta1.ComplianceData.LifeKingdom.UNRECOGNIZED
        : result;
  }

  public static final int P_CHILD_FIELD_NUMBER = 21;
  private com.google.showcase.v1beta1.ComplianceDataChild pChild_;

  /**
   * <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code>
   *
   * @return Whether the pChild field is set.
   */
  @java.lang.Override
  public boolean hasPChild() {
    return ((bitField0_ & 0x00000020) != 0);
  }

  /**
   * <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code>
   *
   * @return The pChild.
   */
  @java.lang.Override
  public com.google.showcase.v1beta1.ComplianceDataChild getPChild() {
    return pChild_ == null
        ? com.google.showcase.v1beta1.ComplianceDataChild.getDefaultInstance()
        : pChild_;
  }

  /** <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code> */
  @java.lang.Override
  public com.google.showcase.v1beta1.ComplianceDataChildOrBuilder getPChildOrBuilder() {
    return pChild_ == null
        ? com.google.showcase.v1beta1.ComplianceDataChild.getDefaultInstance()
        : pChild_;
  }

  private byte memoizedIsInitialized = -1;

  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fString_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fString_);
    }
    if (fInt32_ != 0) {
      output.writeInt32(2, fInt32_);
    }
    if (fSint32_ != 0) {
      output.writeSInt32(3, fSint32_);
    }
    if (fSfixed32_ != 0) {
      output.writeSFixed32(4, fSfixed32_);
    }
    if (fUint32_ != 0) {
      output.writeUInt32(5, fUint32_);
    }
    if (fFixed32_ != 0) {
      output.writeFixed32(6, fFixed32_);
    }
    if (fInt64_ != 0L) {
      output.writeInt64(7, fInt64_);
    }
    if (fSint64_ != 0L) {
      output.writeSInt64(8, fSint64_);
    }
    if (fSfixed64_ != 0L) {
      output.writeSFixed64(9, fSfixed64_);
    }
    if (fUint64_ != 0L) {
      output.writeUInt64(10, fUint64_);
    }
    if (fFixed64_ != 0L) {
      output.writeFixed64(11, fFixed64_);
    }
    if (java.lang.Double.doubleToRawLongBits(fDouble_) != 0) {
      output.writeDouble(12, fDouble_);
    }
    if (java.lang.Float.floatToRawIntBits(fFloat_) != 0) {
      output.writeFloat(13, fFloat_);
    }
    if (fBool_ != false) {
      output.writeBool(14, fBool_);
    }
    if (!fBytes_.isEmpty()) {
      output.writeBytes(15, fBytes_);
    }
    if (fChild_ != null) {
      output.writeMessage(16, getFChild());
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, pString_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeInt32(18, pInt32_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeDouble(19, pDouble_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      output.writeBool(20, pBool_);
    }
    if (((bitField0_ & 0x00000020) != 0)) {
      output.writeMessage(21, getPChild());
    }
    if (fKingdom_
        != com.google.showcase.v1beta1.ComplianceData.LifeKingdom.LIFE_KINGDOM_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(22, fKingdom_);
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      output.writeEnum(23, pKingdom_);
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fString_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fString_);
    }
    if (fInt32_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, fInt32_);
    }
    if (fSint32_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeSInt32Size(3, fSint32_);
    }
    if (fSfixed32_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeSFixed32Size(4, fSfixed32_);
    }
    if (fUint32_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, fUint32_);
    }
    if (fFixed32_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeFixed32Size(6, fFixed32_);
    }
    if (fInt64_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, fInt64_);
    }
    if (fSint64_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeSInt64Size(8, fSint64_);
    }
    if (fSfixed64_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeSFixed64Size(9, fSfixed64_);
    }
    if (fUint64_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeUInt64Size(10, fUint64_);
    }
    if (fFixed64_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeFixed64Size(11, fFixed64_);
    }
    if (java.lang.Double.doubleToRawLongBits(fDouble_) != 0) {
      size += com.google.protobuf.CodedOutputStream.computeDoubleSize(12, fDouble_);
    }
    if (java.lang.Float.floatToRawIntBits(fFloat_) != 0) {
      size += com.google.protobuf.CodedOutputStream.computeFloatSize(13, fFloat_);
    }
    if (fBool_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, fBool_);
    }
    if (!fBytes_.isEmpty()) {
      size += com.google.protobuf.CodedOutputStream.computeBytesSize(15, fBytes_);
    }
    if (fChild_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getFChild());
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, pString_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(18, pInt32_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeDoubleSize(19, pDouble_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(20, pBool_);
    }
    if (((bitField0_ & 0x00000020) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getPChild());
    }
    if (fKingdom_
        != com.google.showcase.v1beta1.ComplianceData.LifeKingdom.LIFE_KINGDOM_UNSPECIFIED
            .getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(22, fKingdom_);
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(23, pKingdom_);
    }
    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.google.showcase.v1beta1.ComplianceData)) {
      return super.equals(obj);
    }
    com.google.showcase.v1beta1.ComplianceData other =
        (com.google.showcase.v1beta1.ComplianceData) obj;

    if (!getFString().equals(other.getFString())) return false;
    if (getFInt32() != other.getFInt32()) return false;
    if (getFSint32() != other.getFSint32()) return false;
    if (getFSfixed32() != other.getFSfixed32()) return false;
    if (getFUint32() != other.getFUint32()) return false;
    if (getFFixed32() != other.getFFixed32()) return false;
    if (getFInt64() != other.getFInt64()) return false;
    if (getFSint64() != other.getFSint64()) return false;
    if (getFSfixed64() != other.getFSfixed64()) return false;
    if (getFUint64() != other.getFUint64()) return false;
    if (getFFixed64() != other.getFFixed64()) return false;
    if (java.lang.Double.doubleToLongBits(getFDouble())
        != java.lang.Double.doubleToLongBits(other.getFDouble())) return false;
    if (java.lang.Float.floatToIntBits(getFFloat())
        != java.lang.Float.floatToIntBits(other.getFFloat())) return false;
    if (getFBool() != other.getFBool()) return false;
    if (!getFBytes().equals(other.getFBytes())) return false;
    if (fKingdom_ != other.fKingdom_) return false;
    if (hasFChild() != other.hasFChild()) return false;
    if (hasFChild()) {
      if (!getFChild().equals(other.getFChild())) return false;
    }
    if (hasPString() != other.hasPString()) return false;
    if (hasPString()) {
      if (!getPString().equals(other.getPString())) return false;
    }
    if (hasPInt32() != other.hasPInt32()) return false;
    if (hasPInt32()) {
      if (getPInt32() != other.getPInt32()) return false;
    }
    if (hasPDouble() != other.hasPDouble()) return false;
    if (hasPDouble()) {
      if (java.lang.Double.doubleToLongBits(getPDouble())
          != java.lang.Double.doubleToLongBits(other.getPDouble())) return false;
    }
    if (hasPBool() != other.hasPBool()) return false;
    if (hasPBool()) {
      if (getPBool() != other.getPBool()) return false;
    }
    if (hasPKingdom() != other.hasPKingdom()) return false;
    if (hasPKingdom()) {
      if (pKingdom_ != other.pKingdom_) return false;
    }
    if (hasPChild() != other.hasPChild()) return false;
    if (hasPChild()) {
      if (!getPChild().equals(other.getPChild())) return false;
    }
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + F_STRING_FIELD_NUMBER;
    hash = (53 * hash) + getFString().hashCode();
    hash = (37 * hash) + F_INT32_FIELD_NUMBER;
    hash = (53 * hash) + getFInt32();
    hash = (37 * hash) + F_SINT32_FIELD_NUMBER;
    hash = (53 * hash) + getFSint32();
    hash = (37 * hash) + F_SFIXED32_FIELD_NUMBER;
    hash = (53 * hash) + getFSfixed32();
    hash = (37 * hash) + F_UINT32_FIELD_NUMBER;
    hash = (53 * hash) + getFUint32();
    hash = (37 * hash) + F_FIXED32_FIELD_NUMBER;
    hash = (53 * hash) + getFFixed32();
    hash = (37 * hash) + F_INT64_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFInt64());
    hash = (37 * hash) + F_SINT64_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFSint64());
    hash = (37 * hash) + F_SFIXED64_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFSfixed64());
    hash = (37 * hash) + F_UINT64_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFUint64());
    hash = (37 * hash) + F_FIXED64_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFFixed64());
    hash = (37 * hash) + F_DOUBLE_FIELD_NUMBER;
    hash =
        (53 * hash)
            + com.google.protobuf.Internal.hashLong(
                java.lang.Double.doubleToLongBits(getFDouble()));
    hash = (37 * hash) + F_FLOAT_FIELD_NUMBER;
    hash = (53 * hash) + java.lang.Float.floatToIntBits(getFFloat());
    hash = (37 * hash) + F_BOOL_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFBool());
    hash = (37 * hash) + F_BYTES_FIELD_NUMBER;
    hash = (53 * hash) + getFBytes().hashCode();
    hash = (37 * hash) + F_KINGDOM_FIELD_NUMBER;
    hash = (53 * hash) + fKingdom_;
    if (hasFChild()) {
      hash = (37 * hash) + F_CHILD_FIELD_NUMBER;
      hash = (53 * hash) + getFChild().hashCode();
    }
    if (hasPString()) {
      hash = (37 * hash) + P_STRING_FIELD_NUMBER;
      hash = (53 * hash) + getPString().hashCode();
    }
    if (hasPInt32()) {
      hash = (37 * hash) + P_INT32_FIELD_NUMBER;
      hash = (53 * hash) + getPInt32();
    }
    if (hasPDouble()) {
      hash = (37 * hash) + P_DOUBLE_FIELD_NUMBER;
      hash =
          (53 * hash)
              + com.google.protobuf.Internal.hashLong(
                  java.lang.Double.doubleToLongBits(getPDouble()));
    }
    if (hasPBool()) {
      hash = (37 * hash) + P_BOOL_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPBool());
    }
    if (hasPKingdom()) {
      hash = (37 * hash) + P_KINGDOM_FIELD_NUMBER;
      hash = (53 * hash) + pKingdom_;
    }
    if (hasPChild()) {
      hash = (37 * hash) + P_CHILD_FIELD_NUMBER;
      hash = (53 * hash) + getPChild().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.google.showcase.v1beta1.ComplianceData parseFrom(java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.showcase.v1beta1.ComplianceData parseFrom(
      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.showcase.v1beta1.ComplianceData parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.showcase.v1beta1.ComplianceData parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.showcase.v1beta1.ComplianceData parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.showcase.v1beta1.ComplianceData parseFrom(
      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.showcase.v1beta1.ComplianceData parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

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

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

  public static com.google.showcase.v1beta1.ComplianceData 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.google.showcase.v1beta1.ComplianceData 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;
  }

  /**
   *
   *
   * <pre>
   * ComplianceData is a message used for testing REST transcoding of
   * different data types.
   * </pre>
   *
   * Protobuf type {@code google.showcase.v1beta1.ComplianceData}
   */
  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
      implements
      // @@protoc_insertion_point(builder_implements:google.showcase.v1beta1.ComplianceData)
      com.google.showcase.v1beta1.ComplianceDataOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.showcase.v1beta1.ComplianceOuterClass
          .internal_static_google_showcase_v1beta1_ComplianceData_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.showcase.v1beta1.ComplianceOuterClass
          .internal_static_google_showcase_v1beta1_ComplianceData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.showcase.v1beta1.ComplianceData.class,
              com.google.showcase.v1beta1.ComplianceData.Builder.class);
    }

    // Construct using com.google.showcase.v1beta1.ComplianceData.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

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

    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
        getPChildFieldBuilder();
      }
    }

    @java.lang.Override
    public Builder clear() {
      super.clear();
      fString_ = "";

      fInt32_ = 0;

      fSint32_ = 0;

      fSfixed32_ = 0;

      fUint32_ = 0;

      fFixed32_ = 0;

      fInt64_ = 0L;

      fSint64_ = 0L;

      fSfixed64_ = 0L;

      fUint64_ = 0L;

      fFixed64_ = 0L;

      fDouble_ = 0D;

      fFloat_ = 0F;

      fBool_ = false;

      fBytes_ = com.google.protobuf.ByteString.EMPTY;

      fKingdom_ = 0;

      if (fChildBuilder_ == null) {
        fChild_ = null;
      } else {
        fChild_ = null;
        fChildBuilder_ = null;
      }
      pString_ = "";
      bitField0_ = (bitField0_ & ~0x00000001);
      pInt32_ = 0;
      bitField0_ = (bitField0_ & ~0x00000002);
      pDouble_ = 0D;
      bitField0_ = (bitField0_ & ~0x00000004);
      pBool_ = false;
      bitField0_ = (bitField0_ & ~0x00000008);
      pKingdom_ = 0;
      bitField0_ = (bitField0_ & ~0x00000010);
      if (pChildBuilder_ == null) {
        pChild_ = null;
      } else {
        pChildBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000020);
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
      return com.google.showcase.v1beta1.ComplianceOuterClass
          .internal_static_google_showcase_v1beta1_ComplianceData_descriptor;
    }

    @java.lang.Override
    public com.google.showcase.v1beta1.ComplianceData getDefaultInstanceForType() {
      return com.google.showcase.v1beta1.ComplianceData.getDefaultInstance();
    }

    @java.lang.Override
    public com.google.showcase.v1beta1.ComplianceData build() {
      com.google.showcase.v1beta1.ComplianceData result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.google.showcase.v1beta1.ComplianceData buildPartial() {
      com.google.showcase.v1beta1.ComplianceData result =
          new com.google.showcase.v1beta1.ComplianceData(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      result.fString_ = fString_;
      result.fInt32_ = fInt32_;
      result.fSint32_ = fSint32_;
      result.fSfixed32_ = fSfixed32_;
      result.fUint32_ = fUint32_;
      result.fFixed32_ = fFixed32_;
      result.fInt64_ = fInt64_;
      result.fSint64_ = fSint64_;
      result.fSfixed64_ = fSfixed64_;
      result.fUint64_ = fUint64_;
      result.fFixed64_ = fFixed64_;
      result.fDouble_ = fDouble_;
      result.fFloat_ = fFloat_;
      result.fBool_ = fBool_;
      result.fBytes_ = fBytes_;
      result.fKingdom_ = fKingdom_;
      if (fChildBuilder_ == null) {
        result.fChild_ = fChild_;
      } else {
        result.fChild_ = fChildBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000001) != 0)) {
        to_bitField0_ |= 0x00000001;
      }
      result.pString_ = pString_;
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.pInt32_ = pInt32_;
        to_bitField0_ |= 0x00000002;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.pDouble_ = pDouble_;
        to_bitField0_ |= 0x00000004;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.pBool_ = pBool_;
        to_bitField0_ |= 0x00000008;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        to_bitField0_ |= 0x00000010;
      }
      result.pKingdom_ = pKingdom_;
      if (((from_bitField0_ & 0x00000020) != 0)) {
        if (pChildBuilder_ == null) {
          result.pChild_ = pChild_;
        } else {
          result.pChild_ = pChildBuilder_.build();
        }
        to_bitField0_ |= 0x00000020;
      }
      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.google.showcase.v1beta1.ComplianceData) {
        return mergeFrom((com.google.showcase.v1beta1.ComplianceData) other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.showcase.v1beta1.ComplianceData other) {
      if (other == com.google.showcase.v1beta1.ComplianceData.getDefaultInstance()) return this;
      if (!other.getFString().isEmpty()) {
        fString_ = other.fString_;
        onChanged();
      }
      if (other.getFInt32() != 0) {
        setFInt32(other.getFInt32());
      }
      if (other.getFSint32() != 0) {
        setFSint32(other.getFSint32());
      }
      if (other.getFSfixed32() != 0) {
        setFSfixed32(other.getFSfixed32());
      }
      if (other.getFUint32() != 0) {
        setFUint32(other.getFUint32());
      }
      if (other.getFFixed32() != 0) {
        setFFixed32(other.getFFixed32());
      }
      if (other.getFInt64() != 0L) {
        setFInt64(other.getFInt64());
      }
      if (other.getFSint64() != 0L) {
        setFSint64(other.getFSint64());
      }
      if (other.getFSfixed64() != 0L) {
        setFSfixed64(other.getFSfixed64());
      }
      if (other.getFUint64() != 0L) {
        setFUint64(other.getFUint64());
      }
      if (other.getFFixed64() != 0L) {
        setFFixed64(other.getFFixed64());
      }
      if (other.getFDouble() != 0D) {
        setFDouble(other.getFDouble());
      }
      if (other.getFFloat() != 0F) {
        setFFloat(other.getFFloat());
      }
      if (other.getFBool() != false) {
        setFBool(other.getFBool());
      }
      if (other.getFBytes() != com.google.protobuf.ByteString.EMPTY) {
        setFBytes(other.getFBytes());
      }
      if (other.fKingdom_ != 0) {
        setFKingdomValue(other.getFKingdomValue());
      }
      if (other.hasFChild()) {
        mergeFChild(other.getFChild());
      }
      if (other.hasPString()) {
        bitField0_ |= 0x00000001;
        pString_ = other.pString_;
        onChanged();
      }
      if (other.hasPInt32()) {
        setPInt32(other.getPInt32());
      }
      if (other.hasPDouble()) {
        setPDouble(other.getPDouble());
      }
      if (other.hasPBool()) {
        setPBool(other.getPBool());
      }
      if (other.hasPKingdom()) {
        setPKingdom(other.getPKingdom());
      }
      if (other.hasPChild()) {
        mergePChild(other.getPChild());
      }
      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.google.showcase.v1beta1.ComplianceData parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.google.showcase.v1beta1.ComplianceData) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int bitField0_;

    private java.lang.Object fString_ = "";

    /**
     * <code>string f_string = 1;</code>
     *
     * @return The fString.
     */
    public java.lang.String getFString() {
      java.lang.Object ref = fString_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        fString_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }

    /**
     * <code>string f_string = 1;</code>
     *
     * @return The bytes for fString.
     */
    public com.google.protobuf.ByteString getFStringBytes() {
      java.lang.Object ref = fString_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        fString_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    /**
     * <code>string f_string = 1;</code>
     *
     * @param value The fString to set.
     * @return This builder for chaining.
     */
    public Builder setFString(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }

      fString_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>string f_string = 1;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFString() {

      fString_ = getDefaultInstance().getFString();
      onChanged();
      return this;
    }

    /**
     * <code>string f_string = 1;</code>
     *
     * @param value The bytes for fString to set.
     * @return This builder for chaining.
     */
    public Builder setFStringBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);

      fString_ = value;
      onChanged();
      return this;
    }

    private int fInt32_;

    /**
     * <code>int32 f_int32 = 2;</code>
     *
     * @return The fInt32.
     */
    @java.lang.Override
    public int getFInt32() {
      return fInt32_;
    }

    /**
     * <code>int32 f_int32 = 2;</code>
     *
     * @param value The fInt32 to set.
     * @return This builder for chaining.
     */
    public Builder setFInt32(int value) {

      fInt32_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>int32 f_int32 = 2;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFInt32() {

      fInt32_ = 0;
      onChanged();
      return this;
    }

    private int fSint32_;

    /**
     * <code>sint32 f_sint32 = 3;</code>
     *
     * @return The fSint32.
     */
    @java.lang.Override
    public int getFSint32() {
      return fSint32_;
    }

    /**
     * <code>sint32 f_sint32 = 3;</code>
     *
     * @param value The fSint32 to set.
     * @return This builder for chaining.
     */
    public Builder setFSint32(int value) {

      fSint32_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>sint32 f_sint32 = 3;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFSint32() {

      fSint32_ = 0;
      onChanged();
      return this;
    }

    private int fSfixed32_;

    /**
     * <code>sfixed32 f_sfixed32 = 4;</code>
     *
     * @return The fSfixed32.
     */
    @java.lang.Override
    public int getFSfixed32() {
      return fSfixed32_;
    }

    /**
     * <code>sfixed32 f_sfixed32 = 4;</code>
     *
     * @param value The fSfixed32 to set.
     * @return This builder for chaining.
     */
    public Builder setFSfixed32(int value) {

      fSfixed32_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>sfixed32 f_sfixed32 = 4;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFSfixed32() {

      fSfixed32_ = 0;
      onChanged();
      return this;
    }

    private int fUint32_;

    /**
     * <code>uint32 f_uint32 = 5;</code>
     *
     * @return The fUint32.
     */
    @java.lang.Override
    public int getFUint32() {
      return fUint32_;
    }

    /**
     * <code>uint32 f_uint32 = 5;</code>
     *
     * @param value The fUint32 to set.
     * @return This builder for chaining.
     */
    public Builder setFUint32(int value) {

      fUint32_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>uint32 f_uint32 = 5;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFUint32() {

      fUint32_ = 0;
      onChanged();
      return this;
    }

    private int fFixed32_;

    /**
     * <code>fixed32 f_fixed32 = 6;</code>
     *
     * @return The fFixed32.
     */
    @java.lang.Override
    public int getFFixed32() {
      return fFixed32_;
    }

    /**
     * <code>fixed32 f_fixed32 = 6;</code>
     *
     * @param value The fFixed32 to set.
     * @return This builder for chaining.
     */
    public Builder setFFixed32(int value) {

      fFixed32_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>fixed32 f_fixed32 = 6;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFFixed32() {

      fFixed32_ = 0;
      onChanged();
      return this;
    }

    private long fInt64_;

    /**
     * <code>int64 f_int64 = 7;</code>
     *
     * @return The fInt64.
     */
    @java.lang.Override
    public long getFInt64() {
      return fInt64_;
    }

    /**
     * <code>int64 f_int64 = 7;</code>
     *
     * @param value The fInt64 to set.
     * @return This builder for chaining.
     */
    public Builder setFInt64(long value) {

      fInt64_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>int64 f_int64 = 7;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFInt64() {

      fInt64_ = 0L;
      onChanged();
      return this;
    }

    private long fSint64_;

    /**
     * <code>sint64 f_sint64 = 8;</code>
     *
     * @return The fSint64.
     */
    @java.lang.Override
    public long getFSint64() {
      return fSint64_;
    }

    /**
     * <code>sint64 f_sint64 = 8;</code>
     *
     * @param value The fSint64 to set.
     * @return This builder for chaining.
     */
    public Builder setFSint64(long value) {

      fSint64_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>sint64 f_sint64 = 8;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFSint64() {

      fSint64_ = 0L;
      onChanged();
      return this;
    }

    private long fSfixed64_;

    /**
     * <code>sfixed64 f_sfixed64 = 9;</code>
     *
     * @return The fSfixed64.
     */
    @java.lang.Override
    public long getFSfixed64() {
      return fSfixed64_;
    }

    /**
     * <code>sfixed64 f_sfixed64 = 9;</code>
     *
     * @param value The fSfixed64 to set.
     * @return This builder for chaining.
     */
    public Builder setFSfixed64(long value) {

      fSfixed64_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>sfixed64 f_sfixed64 = 9;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFSfixed64() {

      fSfixed64_ = 0L;
      onChanged();
      return this;
    }

    private long fUint64_;

    /**
     * <code>uint64 f_uint64 = 10;</code>
     *
     * @return The fUint64.
     */
    @java.lang.Override
    public long getFUint64() {
      return fUint64_;
    }

    /**
     * <code>uint64 f_uint64 = 10;</code>
     *
     * @param value The fUint64 to set.
     * @return This builder for chaining.
     */
    public Builder setFUint64(long value) {

      fUint64_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>uint64 f_uint64 = 10;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFUint64() {

      fUint64_ = 0L;
      onChanged();
      return this;
    }

    private long fFixed64_;

    /**
     * <code>fixed64 f_fixed64 = 11;</code>
     *
     * @return The fFixed64.
     */
    @java.lang.Override
    public long getFFixed64() {
      return fFixed64_;
    }

    /**
     * <code>fixed64 f_fixed64 = 11;</code>
     *
     * @param value The fFixed64 to set.
     * @return This builder for chaining.
     */
    public Builder setFFixed64(long value) {

      fFixed64_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>fixed64 f_fixed64 = 11;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFFixed64() {

      fFixed64_ = 0L;
      onChanged();
      return this;
    }

    private double fDouble_;

    /**
     * <code>double f_double = 12;</code>
     *
     * @return The fDouble.
     */
    @java.lang.Override
    public double getFDouble() {
      return fDouble_;
    }

    /**
     * <code>double f_double = 12;</code>
     *
     * @param value The fDouble to set.
     * @return This builder for chaining.
     */
    public Builder setFDouble(double value) {

      fDouble_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>double f_double = 12;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFDouble() {

      fDouble_ = 0D;
      onChanged();
      return this;
    }

    private float fFloat_;

    /**
     * <code>float f_float = 13;</code>
     *
     * @return The fFloat.
     */
    @java.lang.Override
    public float getFFloat() {
      return fFloat_;
    }

    /**
     * <code>float f_float = 13;</code>
     *
     * @param value The fFloat to set.
     * @return This builder for chaining.
     */
    public Builder setFFloat(float value) {

      fFloat_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>float f_float = 13;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFFloat() {

      fFloat_ = 0F;
      onChanged();
      return this;
    }

    private boolean fBool_;

    /**
     * <code>bool f_bool = 14;</code>
     *
     * @return The fBool.
     */
    @java.lang.Override
    public boolean getFBool() {
      return fBool_;
    }

    /**
     * <code>bool f_bool = 14;</code>
     *
     * @param value The fBool to set.
     * @return This builder for chaining.
     */
    public Builder setFBool(boolean value) {

      fBool_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>bool f_bool = 14;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFBool() {

      fBool_ = false;
      onChanged();
      return this;
    }

    private com.google.protobuf.ByteString fBytes_ = com.google.protobuf.ByteString.EMPTY;

    /**
     * <code>bytes f_bytes = 15;</code>
     *
     * @return The fBytes.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getFBytes() {
      return fBytes_;
    }

    /**
     * <code>bytes f_bytes = 15;</code>
     *
     * @param value The fBytes to set.
     * @return This builder for chaining.
     */
    public Builder setFBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }

      fBytes_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>bytes f_bytes = 15;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFBytes() {

      fBytes_ = getDefaultInstance().getFBytes();
      onChanged();
      return this;
    }

    private int fKingdom_ = 0;

    /**
     * <code>.google.showcase.v1beta1.ComplianceData.LifeKingdom f_kingdom = 22;</code>
     *
     * @return The enum numeric value on the wire for fKingdom.
     */
    @java.lang.Override
    public int getFKingdomValue() {
      return fKingdom_;
    }

    /**
     * <code>.google.showcase.v1beta1.ComplianceData.LifeKingdom f_kingdom = 22;</code>
     *
     * @param value The enum numeric value on the wire for fKingdom to set.
     * @return This builder for chaining.
     */
    public Builder setFKingdomValue(int value) {

      fKingdom_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>.google.showcase.v1beta1.ComplianceData.LifeKingdom f_kingdom = 22;</code>
     *
     * @return The fKingdom.
     */
    @java.lang.Override
    public com.google.showcase.v1beta1.ComplianceData.LifeKingdom getFKingdom() {
      @SuppressWarnings("deprecation")
      com.google.showcase.v1beta1.ComplianceData.LifeKingdom result =
          com.google.showcase.v1beta1.ComplianceData.LifeKingdom.valueOf(fKingdom_);
      return result == null
          ? com.google.showcase.v1beta1.ComplianceData.LifeKingdom.UNRECOGNIZED
          : result;
    }

    /**
     * <code>.google.showcase.v1beta1.ComplianceData.LifeKingdom f_kingdom = 22;</code>
     *
     * @param value The fKingdom to set.
     * @return This builder for chaining.
     */
    public Builder setFKingdom(com.google.showcase.v1beta1.ComplianceData.LifeKingdom value) {
      if (value == null) {
        throw new NullPointerException();
      }

      fKingdom_ = value.getNumber();
      onChanged();
      return this;
    }

    /**
     * <code>.google.showcase.v1beta1.ComplianceData.LifeKingdom f_kingdom = 22;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFKingdom() {

      fKingdom_ = 0;
      onChanged();
      return this;
    }

    private com.google.showcase.v1beta1.ComplianceDataChild fChild_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.showcase.v1beta1.ComplianceDataChild,
            com.google.showcase.v1beta1.ComplianceDataChild.Builder,
            com.google.showcase.v1beta1.ComplianceDataChildOrBuilder>
        fChildBuilder_;

    /**
     * <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code>
     *
     * @return Whether the fChild field is set.
     */
    public boolean hasFChild() {
      return fChildBuilder_ != null || fChild_ != null;
    }

    /**
     * <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code>
     *
     * @return The fChild.
     */
    public com.google.showcase.v1beta1.ComplianceDataChild getFChild() {
      if (fChildBuilder_ == null) {
        return fChild_ == null
            ? com.google.showcase.v1beta1.ComplianceDataChild.getDefaultInstance()
            : fChild_;
      } else {
        return fChildBuilder_.getMessage();
      }
    }

    /** <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code> */
    public Builder setFChild(com.google.showcase.v1beta1.ComplianceDataChild value) {
      if (fChildBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        fChild_ = value;
        onChanged();
      } else {
        fChildBuilder_.setMessage(value);
      }

      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code> */
    public Builder setFChild(
        com.google.showcase.v1beta1.ComplianceDataChild.Builder builderForValue) {
      if (fChildBuilder_ == null) {
        fChild_ = builderForValue.build();
        onChanged();
      } else {
        fChildBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code> */
    public Builder mergeFChild(com.google.showcase.v1beta1.ComplianceDataChild value) {
      if (fChildBuilder_ == null) {
        if (fChild_ != null) {
          fChild_ =
              com.google.showcase.v1beta1.ComplianceDataChild.newBuilder(fChild_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          fChild_ = value;
        }
        onChanged();
      } else {
        fChildBuilder_.mergeFrom(value);
      }

      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code> */
    public Builder clearFChild() {
      if (fChildBuilder_ == null) {
        fChild_ = null;
        onChanged();
      } else {
        fChild_ = null;
        fChildBuilder_ = null;
      }

      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code> */
    public com.google.showcase.v1beta1.ComplianceDataChild.Builder getFChildBuilder() {

      onChanged();
      return getFChildFieldBuilder().getBuilder();
    }

    /** <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code> */
    public com.google.showcase.v1beta1.ComplianceDataChildOrBuilder getFChildOrBuilder() {
      if (fChildBuilder_ != null) {
        return fChildBuilder_.getMessageOrBuilder();
      } else {
        return fChild_ == null
            ? com.google.showcase.v1beta1.ComplianceDataChild.getDefaultInstance()
            : fChild_;
      }
    }

    /** <code>.google.showcase.v1beta1.ComplianceDataChild f_child = 16;</code> */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.showcase.v1beta1.ComplianceDataChild,
            com.google.showcase.v1beta1.ComplianceDataChild.Builder,
            com.google.showcase.v1beta1.ComplianceDataChildOrBuilder>
        getFChildFieldBuilder() {
      if (fChildBuilder_ == null) {
        fChildBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.showcase.v1beta1.ComplianceDataChild,
                com.google.showcase.v1beta1.ComplianceDataChild.Builder,
                com.google.showcase.v1beta1.ComplianceDataChildOrBuilder>(
                getFChild(), getParentForChildren(), isClean());
        fChild_ = null;
      }
      return fChildBuilder_;
    }

    private java.lang.Object pString_ = "";

    /**
     * <code>optional string p_string = 17;</code>
     *
     * @return Whether the pString field is set.
     */
    public boolean hasPString() {
      return ((bitField0_ & 0x00000001) != 0);
    }

    /**
     * <code>optional string p_string = 17;</code>
     *
     * @return The pString.
     */
    public java.lang.String getPString() {
      java.lang.Object ref = pString_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        pString_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }

    /**
     * <code>optional string p_string = 17;</code>
     *
     * @return The bytes for pString.
     */
    public com.google.protobuf.ByteString getPStringBytes() {
      java.lang.Object ref = pString_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        pString_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    /**
     * <code>optional string p_string = 17;</code>
     *
     * @param value The pString to set.
     * @return This builder for chaining.
     */
    public Builder setPString(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000001;
      pString_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>optional string p_string = 17;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearPString() {
      bitField0_ = (bitField0_ & ~0x00000001);
      pString_ = getDefaultInstance().getPString();
      onChanged();
      return this;
    }

    /**
     * <code>optional string p_string = 17;</code>
     *
     * @param value The bytes for pString to set.
     * @return This builder for chaining.
     */
    public Builder setPStringBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      bitField0_ |= 0x00000001;
      pString_ = value;
      onChanged();
      return this;
    }

    private int pInt32_;

    /**
     * <code>optional int32 p_int32 = 18;</code>
     *
     * @return Whether the pInt32 field is set.
     */
    @java.lang.Override
    public boolean hasPInt32() {
      return ((bitField0_ & 0x00000002) != 0);
    }

    /**
     * <code>optional int32 p_int32 = 18;</code>
     *
     * @return The pInt32.
     */
    @java.lang.Override
    public int getPInt32() {
      return pInt32_;
    }

    /**
     * <code>optional int32 p_int32 = 18;</code>
     *
     * @param value The pInt32 to set.
     * @return This builder for chaining.
     */
    public Builder setPInt32(int value) {
      bitField0_ |= 0x00000002;
      pInt32_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>optional int32 p_int32 = 18;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearPInt32() {
      bitField0_ = (bitField0_ & ~0x00000002);
      pInt32_ = 0;
      onChanged();
      return this;
    }

    private double pDouble_;

    /**
     * <code>optional double p_double = 19;</code>
     *
     * @return Whether the pDouble field is set.
     */
    @java.lang.Override
    public boolean hasPDouble() {
      return ((bitField0_ & 0x00000004) != 0);
    }

    /**
     * <code>optional double p_double = 19;</code>
     *
     * @return The pDouble.
     */
    @java.lang.Override
    public double getPDouble() {
      return pDouble_;
    }

    /**
     * <code>optional double p_double = 19;</code>
     *
     * @param value The pDouble to set.
     * @return This builder for chaining.
     */
    public Builder setPDouble(double value) {
      bitField0_ |= 0x00000004;
      pDouble_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>optional double p_double = 19;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearPDouble() {
      bitField0_ = (bitField0_ & ~0x00000004);
      pDouble_ = 0D;
      onChanged();
      return this;
    }

    private boolean pBool_;

    /**
     * <code>optional bool p_bool = 20;</code>
     *
     * @return Whether the pBool field is set.
     */
    @java.lang.Override
    public boolean hasPBool() {
      return ((bitField0_ & 0x00000008) != 0);
    }

    /**
     * <code>optional bool p_bool = 20;</code>
     *
     * @return The pBool.
     */
    @java.lang.Override
    public boolean getPBool() {
      return pBool_;
    }

    /**
     * <code>optional bool p_bool = 20;</code>
     *
     * @param value The pBool to set.
     * @return This builder for chaining.
     */
    public Builder setPBool(boolean value) {
      bitField0_ |= 0x00000008;
      pBool_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>optional bool p_bool = 20;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearPBool() {
      bitField0_ = (bitField0_ & ~0x00000008);
      pBool_ = false;
      onChanged();
      return this;
    }

    private int pKingdom_ = 0;

    /**
     * <code>optional .google.showcase.v1beta1.ComplianceData.LifeKingdom p_kingdom = 23;</code>
     *
     * @return Whether the pKingdom field is set.
     */
    @java.lang.Override
    public boolean hasPKingdom() {
      return ((bitField0_ & 0x00000010) != 0);
    }

    /**
     * <code>optional .google.showcase.v1beta1.ComplianceData.LifeKingdom p_kingdom = 23;</code>
     *
     * @return The enum numeric value on the wire for pKingdom.
     */
    @java.lang.Override
    public int getPKingdomValue() {
      return pKingdom_;
    }

    /**
     * <code>optional .google.showcase.v1beta1.ComplianceData.LifeKingdom p_kingdom = 23;</code>
     *
     * @param value The enum numeric value on the wire for pKingdom to set.
     * @return This builder for chaining.
     */
    public Builder setPKingdomValue(int value) {
      bitField0_ |= 0x00000010;
      pKingdom_ = value;
      onChanged();
      return this;
    }

    /**
     * <code>optional .google.showcase.v1beta1.ComplianceData.LifeKingdom p_kingdom = 23;</code>
     *
     * @return The pKingdom.
     */
    @java.lang.Override
    public com.google.showcase.v1beta1.ComplianceData.LifeKingdom getPKingdom() {
      @SuppressWarnings("deprecation")
      com.google.showcase.v1beta1.ComplianceData.LifeKingdom result =
          com.google.showcase.v1beta1.ComplianceData.LifeKingdom.valueOf(pKingdom_);
      return result == null
          ? com.google.showcase.v1beta1.ComplianceData.LifeKingdom.UNRECOGNIZED
          : result;
    }

    /**
     * <code>optional .google.showcase.v1beta1.ComplianceData.LifeKingdom p_kingdom = 23;</code>
     *
     * @param value The pKingdom to set.
     * @return This builder for chaining.
     */
    public Builder setPKingdom(com.google.showcase.v1beta1.ComplianceData.LifeKingdom value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000010;
      pKingdom_ = value.getNumber();
      onChanged();
      return this;
    }

    /**
     * <code>optional .google.showcase.v1beta1.ComplianceData.LifeKingdom p_kingdom = 23;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearPKingdom() {
      bitField0_ = (bitField0_ & ~0x00000010);
      pKingdom_ = 0;
      onChanged();
      return this;
    }

    private com.google.showcase.v1beta1.ComplianceDataChild pChild_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.showcase.v1beta1.ComplianceDataChild,
            com.google.showcase.v1beta1.ComplianceDataChild.Builder,
            com.google.showcase.v1beta1.ComplianceDataChildOrBuilder>
        pChildBuilder_;

    /**
     * <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code>
     *
     * @return Whether the pChild field is set.
     */
    public boolean hasPChild() {
      return ((bitField0_ & 0x00000020) != 0);
    }

    /**
     * <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code>
     *
     * @return The pChild.
     */
    public com.google.showcase.v1beta1.ComplianceDataChild getPChild() {
      if (pChildBuilder_ == null) {
        return pChild_ == null
            ? com.google.showcase.v1beta1.ComplianceDataChild.getDefaultInstance()
            : pChild_;
      } else {
        return pChildBuilder_.getMessage();
      }
    }

    /** <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code> */
    public Builder setPChild(com.google.showcase.v1beta1.ComplianceDataChild value) {
      if (pChildBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        pChild_ = value;
        onChanged();
      } else {
        pChildBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000020;
      return this;
    }

    /** <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code> */
    public Builder setPChild(
        com.google.showcase.v1beta1.ComplianceDataChild.Builder builderForValue) {
      if (pChildBuilder_ == null) {
        pChild_ = builderForValue.build();
        onChanged();
      } else {
        pChildBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000020;
      return this;
    }

    /** <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code> */
    public Builder mergePChild(com.google.showcase.v1beta1.ComplianceDataChild value) {
      if (pChildBuilder_ == null) {
        if (((bitField0_ & 0x00000020) != 0)
            && pChild_ != null
            && pChild_ != com.google.showcase.v1beta1.ComplianceDataChild.getDefaultInstance()) {
          pChild_ =
              com.google.showcase.v1beta1.ComplianceDataChild.newBuilder(pChild_)
                  .mergeFrom(value)
                  .buildPartial();
        } else {
          pChild_ = value;
        }
        onChanged();
      } else {
        pChildBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000020;
      return this;
    }

    /** <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code> */
    public Builder clearPChild() {
      if (pChildBuilder_ == null) {
        pChild_ = null;
        onChanged();
      } else {
        pChildBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000020);
      return this;
    }

    /** <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code> */
    public com.google.showcase.v1beta1.ComplianceDataChild.Builder getPChildBuilder() {
      bitField0_ |= 0x00000020;
      onChanged();
      return getPChildFieldBuilder().getBuilder();
    }

    /** <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code> */
    public com.google.showcase.v1beta1.ComplianceDataChildOrBuilder getPChildOrBuilder() {
      if (pChildBuilder_ != null) {
        return pChildBuilder_.getMessageOrBuilder();
      } else {
        return pChild_ == null
            ? com.google.showcase.v1beta1.ComplianceDataChild.getDefaultInstance()
            : pChild_;
      }
    }

    /** <code>optional .google.showcase.v1beta1.ComplianceDataChild p_child = 21;</code> */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.showcase.v1beta1.ComplianceDataChild,
            com.google.showcase.v1beta1.ComplianceDataChild.Builder,
            com.google.showcase.v1beta1.ComplianceDataChildOrBuilder>
        getPChildFieldBuilder() {
      if (pChildBuilder_ == null) {
        pChildBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.showcase.v1beta1.ComplianceDataChild,
                com.google.showcase.v1beta1.ComplianceDataChild.Builder,
                com.google.showcase.v1beta1.ComplianceDataChildOrBuilder>(
                getPChild(), getParentForChildren(), isClean());
        pChild_ = null;
      }
      return pChildBuilder_;
    }

    @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:google.showcase.v1beta1.ComplianceData)
  }

  // @@protoc_insertion_point(class_scope:google.showcase.v1beta1.ComplianceData)
  private static final com.google.showcase.v1beta1.ComplianceData DEFAULT_INSTANCE;

  static {
    DEFAULT_INSTANCE = new com.google.showcase.v1beta1.ComplianceData();
  }

  public static com.google.showcase.v1beta1.ComplianceData getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<ComplianceData> PARSER =
      new com.google.protobuf.AbstractParser<ComplianceData>() {
        @java.lang.Override
        public ComplianceData parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new ComplianceData(input, extensionRegistry);
        }
      };

  public static com.google.protobuf.Parser<ComplianceData> parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser<ComplianceData> getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.showcase.v1beta1.ComplianceData getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }
}
