/*
 * 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

// Protobuf Java Version: 3.25.8
package com.google.showcase.v1beta1;

/** Protobuf type {@code google.showcase.v1beta1.ComplianceDataChild} */
public final class ComplianceDataChild extends com.google.protobuf.GeneratedMessageV3
    implements
    // @@protoc_insertion_point(message_implements:google.showcase.v1beta1.ComplianceDataChild)
    ComplianceDataChildOrBuilder {
  private static final long serialVersionUID = 0L;

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

  private ComplianceDataChild() {
    fString_ = "";
    fContinent_ = 0;
    pString_ = "";
    pContinent_ = 0;
  }

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

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

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

  private int bitField0_;
  public static final int F_STRING_FIELD_NUMBER = 1;

  @SuppressWarnings("serial")
  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_FLOAT_FIELD_NUMBER = 2;
  private float fFloat_ = 0F;

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

  public static final int F_DOUBLE_FIELD_NUMBER = 3;
  private double fDouble_ = 0D;

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

  public static final int F_BOOL_FIELD_NUMBER = 4;
  private boolean fBool_ = false;

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

  public static final int F_CONTINENT_FIELD_NUMBER = 11;
  private int fContinent_ = 0;

  /**
   * <code>.google.showcase.v1beta1.Continent f_continent = 11;</code>
   *
   * @return The enum numeric value on the wire for fContinent.
   */
  @java.lang.Override
  public int getFContinentValue() {
    return fContinent_;
  }

  /**
   * <code>.google.showcase.v1beta1.Continent f_continent = 11;</code>
   *
   * @return The fContinent.
   */
  @java.lang.Override
  public com.google.showcase.v1beta1.Continent getFContinent() {
    com.google.showcase.v1beta1.Continent result =
        com.google.showcase.v1beta1.Continent.forNumber(fContinent_);
    return result == null ? com.google.showcase.v1beta1.Continent.UNRECOGNIZED : result;
  }

  public static final int F_CHILD_FIELD_NUMBER = 5;
  private com.google.showcase.v1beta1.ComplianceDataGrandchild fChild_;

  /**
   * <code>.google.showcase.v1beta1.ComplianceDataGrandchild f_child = 5;</code>
   *
   * @return Whether the fChild field is set.
   */
  @java.lang.Override
  public boolean hasFChild() {
    return ((bitField0_ & 0x00000001) != 0);
  }

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

  /** <code>.google.showcase.v1beta1.ComplianceDataGrandchild f_child = 5;</code> */
  @java.lang.Override
  public com.google.showcase.v1beta1.ComplianceDataGrandchildOrBuilder getFChildOrBuilder() {
    return fChild_ == null
        ? com.google.showcase.v1beta1.ComplianceDataGrandchild.getDefaultInstance()
        : fChild_;
  }

  public static final int P_STRING_FIELD_NUMBER = 6;

  @SuppressWarnings("serial")
  private volatile java.lang.Object pString_ = "";

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

  /**
   * <code>optional string p_string = 6;</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 = 6;</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_FLOAT_FIELD_NUMBER = 7;
  private float pFloat_ = 0F;

  /**
   * <code>optional float p_float = 7;</code>
   *
   * @return Whether the pFloat field is set.
   */
  @java.lang.Override
  public boolean hasPFloat() {
    return ((bitField0_ & 0x00000004) != 0);
  }

  /**
   * <code>optional float p_float = 7;</code>
   *
   * @return The pFloat.
   */
  @java.lang.Override
  public float getPFloat() {
    return pFloat_;
  }

  public static final int P_DOUBLE_FIELD_NUMBER = 8;
  private double pDouble_ = 0D;

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

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

  public static final int P_BOOL_FIELD_NUMBER = 9;
  private boolean pBool_ = false;

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

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

  public static final int P_CONTINENT_FIELD_NUMBER = 12;
  private int pContinent_ = 0;

  /**
   * <code>.google.showcase.v1beta1.Continent p_continent = 12;</code>
   *
   * @return The enum numeric value on the wire for pContinent.
   */
  @java.lang.Override
  public int getPContinentValue() {
    return pContinent_;
  }

  /**
   * <code>.google.showcase.v1beta1.Continent p_continent = 12;</code>
   *
   * @return The pContinent.
   */
  @java.lang.Override
  public com.google.showcase.v1beta1.Continent getPContinent() {
    com.google.showcase.v1beta1.Continent result =
        com.google.showcase.v1beta1.Continent.forNumber(pContinent_);
    return result == null ? com.google.showcase.v1beta1.Continent.UNRECOGNIZED : result;
  }

  public static final int P_CHILD_FIELD_NUMBER = 10;
  private com.google.showcase.v1beta1.ComplianceDataGrandchild pChild_;

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

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

  /** <code>optional .google.showcase.v1beta1.ComplianceDataGrandchild p_child = 10;</code> */
  @java.lang.Override
  public com.google.showcase.v1beta1.ComplianceDataGrandchildOrBuilder getPChildOrBuilder() {
    return pChild_ == null
        ? com.google.showcase.v1beta1.ComplianceDataGrandchild.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 (java.lang.Float.floatToRawIntBits(fFloat_) != 0) {
      output.writeFloat(2, fFloat_);
    }
    if (java.lang.Double.doubleToRawLongBits(fDouble_) != 0) {
      output.writeDouble(3, fDouble_);
    }
    if (fBool_ != false) {
      output.writeBool(4, fBool_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(5, getFChild());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pString_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeFloat(7, pFloat_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      output.writeDouble(8, pDouble_);
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      output.writeBool(9, pBool_);
    }
    if (((bitField0_ & 0x00000020) != 0)) {
      output.writeMessage(10, getPChild());
    }
    if (fContinent_ != com.google.showcase.v1beta1.Continent.CONTINENT_UNSPECIFIED.getNumber()) {
      output.writeEnum(11, fContinent_);
    }
    if (pContinent_ != com.google.showcase.v1beta1.Continent.CONTINENT_UNSPECIFIED.getNumber()) {
      output.writeEnum(12, pContinent_);
    }
    getUnknownFields().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 (java.lang.Float.floatToRawIntBits(fFloat_) != 0) {
      size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, fFloat_);
    }
    if (java.lang.Double.doubleToRawLongBits(fDouble_) != 0) {
      size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, fDouble_);
    }
    if (fBool_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, fBool_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFChild());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pString_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeFloatSize(7, pFloat_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeDoubleSize(8, pDouble_);
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, pBool_);
    }
    if (((bitField0_ & 0x00000020) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getPChild());
    }
    if (fContinent_ != com.google.showcase.v1beta1.Continent.CONTINENT_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, fContinent_);
    }
    if (pContinent_ != com.google.showcase.v1beta1.Continent.CONTINENT_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, pContinent_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.showcase.v1beta1.ComplianceDataChild)) {
      return super.equals(obj);
    }
    com.google.showcase.v1beta1.ComplianceDataChild other =
        (com.google.showcase.v1beta1.ComplianceDataChild) obj;

    if (!getFString().equals(other.getFString())) return false;
    if (java.lang.Float.floatToIntBits(getFFloat())
        != java.lang.Float.floatToIntBits(other.getFFloat())) return false;
    if (java.lang.Double.doubleToLongBits(getFDouble())
        != java.lang.Double.doubleToLongBits(other.getFDouble())) return false;
    if (getFBool() != other.getFBool()) return false;
    if (fContinent_ != other.fContinent_) 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 (hasPFloat() != other.hasPFloat()) return false;
    if (hasPFloat()) {
      if (java.lang.Float.floatToIntBits(getPFloat())
          != java.lang.Float.floatToIntBits(other.getPFloat())) 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 (pContinent_ != other.pContinent_) return false;
    if (hasPChild() != other.hasPChild()) return false;
    if (hasPChild()) {
      if (!getPChild().equals(other.getPChild())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + F_STRING_FIELD_NUMBER;
    hash = (53 * hash) + getFString().hashCode();
    hash = (37 * hash) + F_FLOAT_FIELD_NUMBER;
    hash = (53 * hash) + java.lang.Float.floatToIntBits(getFFloat());
    hash = (37 * hash) + F_DOUBLE_FIELD_NUMBER;
    hash =
        (53 * hash)
            + com.google.protobuf.Internal.hashLong(
                java.lang.Double.doubleToLongBits(getFDouble()));
    hash = (37 * hash) + F_BOOL_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFBool());
    hash = (37 * hash) + F_CONTINENT_FIELD_NUMBER;
    hash = (53 * hash) + fContinent_;
    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 (hasPFloat()) {
      hash = (37 * hash) + P_FLOAT_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(getPFloat());
    }
    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());
    }
    hash = (37 * hash) + P_CONTINENT_FIELD_NUMBER;
    hash = (53 * hash) + pContinent_;
    if (hasPChild()) {
      hash = (37 * hash) + P_CHILD_FIELD_NUMBER;
      hash = (53 * hash) + getPChild().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  public static com.google.showcase.v1beta1.ComplianceDataChild 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.ComplianceDataChild parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.showcase.v1beta1.ComplianceDataChild 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.ComplianceDataChild parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

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

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

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

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

  public static com.google.showcase.v1beta1.ComplianceDataChild 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.ComplianceDataChild prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }

  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }

  /** Protobuf type {@code google.showcase.v1beta1.ComplianceDataChild} */
  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
      implements
      // @@protoc_insertion_point(builder_implements:google.showcase.v1beta1.ComplianceDataChild)
      com.google.showcase.v1beta1.ComplianceDataChildOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.showcase.v1beta1.ComplianceOuterClass
          .internal_static_google_showcase_v1beta1_ComplianceDataChild_descriptor;
    }

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

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

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

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

    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      fString_ = "";
      fFloat_ = 0F;
      fDouble_ = 0D;
      fBool_ = false;
      fContinent_ = 0;
      fChild_ = null;
      if (fChildBuilder_ != null) {
        fChildBuilder_.dispose();
        fChildBuilder_ = null;
      }
      pString_ = "";
      pFloat_ = 0F;
      pDouble_ = 0D;
      pBool_ = false;
      pContinent_ = 0;
      pChild_ = null;
      if (pChildBuilder_ != null) {
        pChildBuilder_.dispose();
        pChildBuilder_ = null;
      }
      return this;
    }

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

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

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

    @java.lang.Override
    public com.google.showcase.v1beta1.ComplianceDataChild buildPartial() {
      com.google.showcase.v1beta1.ComplianceDataChild result =
          new com.google.showcase.v1beta1.ComplianceDataChild(this);
      if (bitField0_ != 0) {
        buildPartial0(result);
      }
      onBuilt();
      return result;
    }

    private void buildPartial0(com.google.showcase.v1beta1.ComplianceDataChild result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.fString_ = fString_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.fFloat_ = fFloat_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.fDouble_ = fDouble_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.fBool_ = fBool_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.fContinent_ = fContinent_;
      }
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.fChild_ = fChildBuilder_ == null ? fChild_ : fChildBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.pString_ = pString_;
        to_bitField0_ |= 0x00000002;
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.pFloat_ = pFloat_;
        to_bitField0_ |= 0x00000004;
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        result.pDouble_ = pDouble_;
        to_bitField0_ |= 0x00000008;
      }
      if (((from_bitField0_ & 0x00000200) != 0)) {
        result.pBool_ = pBool_;
        to_bitField0_ |= 0x00000010;
      }
      if (((from_bitField0_ & 0x00000400) != 0)) {
        result.pContinent_ = pContinent_;
      }
      if (((from_bitField0_ & 0x00000800) != 0)) {
        result.pChild_ = pChildBuilder_ == null ? pChild_ : pChildBuilder_.build();
        to_bitField0_ |= 0x00000020;
      }
      result.bitField0_ |= to_bitField0_;
    }

    @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.ComplianceDataChild) {
        return mergeFrom((com.google.showcase.v1beta1.ComplianceDataChild) other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.showcase.v1beta1.ComplianceDataChild other) {
      if (other == com.google.showcase.v1beta1.ComplianceDataChild.getDefaultInstance())
        return this;
      if (!other.getFString().isEmpty()) {
        fString_ = other.fString_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (other.getFFloat() != 0F) {
        setFFloat(other.getFFloat());
      }
      if (other.getFDouble() != 0D) {
        setFDouble(other.getFDouble());
      }
      if (other.getFBool() != false) {
        setFBool(other.getFBool());
      }
      if (other.fContinent_ != 0) {
        setFContinentValue(other.getFContinentValue());
      }
      if (other.hasFChild()) {
        mergeFChild(other.getFChild());
      }
      if (other.hasPString()) {
        pString_ = other.pString_;
        bitField0_ |= 0x00000040;
        onChanged();
      }
      if (other.hasPFloat()) {
        setPFloat(other.getPFloat());
      }
      if (other.hasPDouble()) {
        setPDouble(other.getPDouble());
      }
      if (other.hasPBool()) {
        setPBool(other.getPBool());
      }
      if (other.pContinent_ != 0) {
        setPContinentValue(other.getPContinentValue());
      }
      if (other.hasPChild()) {
        mergePChild(other.getPChild());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      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 {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10:
              {
                fString_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
            case 21:
              {
                fFloat_ = input.readFloat();
                bitField0_ |= 0x00000002;
                break;
              } // case 21
            case 25:
              {
                fDouble_ = input.readDouble();
                bitField0_ |= 0x00000004;
                break;
              } // case 25
            case 32:
              {
                fBool_ = input.readBool();
                bitField0_ |= 0x00000008;
                break;
              } // case 32
            case 42:
              {
                input.readMessage(getFChildFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000020;
                break;
              } // case 42
            case 50:
              {
                pString_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000040;
                break;
              } // case 50
            case 61:
              {
                pFloat_ = input.readFloat();
                bitField0_ |= 0x00000080;
                break;
              } // case 61
            case 65:
              {
                pDouble_ = input.readDouble();
                bitField0_ |= 0x00000100;
                break;
              } // case 65
            case 72:
              {
                pBool_ = input.readBool();
                bitField0_ |= 0x00000200;
                break;
              } // case 72
            case 82:
              {
                input.readMessage(getPChildFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000800;
                break;
              } // case 82
            case 88:
              {
                fContinent_ = input.readEnum();
                bitField0_ |= 0x00000010;
                break;
              } // case 88
            case 96:
              {
                pContinent_ = input.readEnum();
                bitField0_ |= 0x00000400;
                break;
              } // case 96
            default:
              {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      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;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    /**
     * <code>string f_string = 1;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFString() {
      fString_ = getDefaultInstance().getFString();
      bitField0_ = (bitField0_ & ~0x00000001);
      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;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private float fFloat_;

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

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

      fFloat_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    /**
     * <code>float f_float = 2;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFFloat() {
      bitField0_ = (bitField0_ & ~0x00000002);
      fFloat_ = 0F;
      onChanged();
      return this;
    }

    private double fDouble_;

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

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

      fDouble_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }

    /**
     * <code>double f_double = 3;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFDouble() {
      bitField0_ = (bitField0_ & ~0x00000004);
      fDouble_ = 0D;
      onChanged();
      return this;
    }

    private boolean fBool_;

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

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

      fBool_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }

    /**
     * <code>bool f_bool = 4;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFBool() {
      bitField0_ = (bitField0_ & ~0x00000008);
      fBool_ = false;
      onChanged();
      return this;
    }

    private int fContinent_ = 0;

    /**
     * <code>.google.showcase.v1beta1.Continent f_continent = 11;</code>
     *
     * @return The enum numeric value on the wire for fContinent.
     */
    @java.lang.Override
    public int getFContinentValue() {
      return fContinent_;
    }

    /**
     * <code>.google.showcase.v1beta1.Continent f_continent = 11;</code>
     *
     * @param value The enum numeric value on the wire for fContinent to set.
     * @return This builder for chaining.
     */
    public Builder setFContinentValue(int value) {
      fContinent_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }

    /**
     * <code>.google.showcase.v1beta1.Continent f_continent = 11;</code>
     *
     * @return The fContinent.
     */
    @java.lang.Override
    public com.google.showcase.v1beta1.Continent getFContinent() {
      com.google.showcase.v1beta1.Continent result =
          com.google.showcase.v1beta1.Continent.forNumber(fContinent_);
      return result == null ? com.google.showcase.v1beta1.Continent.UNRECOGNIZED : result;
    }

    /**
     * <code>.google.showcase.v1beta1.Continent f_continent = 11;</code>
     *
     * @param value The fContinent to set.
     * @return This builder for chaining.
     */
    public Builder setFContinent(com.google.showcase.v1beta1.Continent value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000010;
      fContinent_ = value.getNumber();
      onChanged();
      return this;
    }

    /**
     * <code>.google.showcase.v1beta1.Continent f_continent = 11;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFContinent() {
      bitField0_ = (bitField0_ & ~0x00000010);
      fContinent_ = 0;
      onChanged();
      return this;
    }

    private com.google.showcase.v1beta1.ComplianceDataGrandchild fChild_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.showcase.v1beta1.ComplianceDataGrandchild,
            com.google.showcase.v1beta1.ComplianceDataGrandchild.Builder,
            com.google.showcase.v1beta1.ComplianceDataGrandchildOrBuilder>
        fChildBuilder_;

    /**
     * <code>.google.showcase.v1beta1.ComplianceDataGrandchild f_child = 5;</code>
     *
     * @return Whether the fChild field is set.
     */
    public boolean hasFChild() {
      return ((bitField0_ & 0x00000020) != 0);
    }

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

    /** <code>.google.showcase.v1beta1.ComplianceDataGrandchild f_child = 5;</code> */
    public Builder setFChild(com.google.showcase.v1beta1.ComplianceDataGrandchild value) {
      if (fChildBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        fChild_ = value;
      } else {
        fChildBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceDataGrandchild f_child = 5;</code> */
    public Builder setFChild(
        com.google.showcase.v1beta1.ComplianceDataGrandchild.Builder builderForValue) {
      if (fChildBuilder_ == null) {
        fChild_ = builderForValue.build();
      } else {
        fChildBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceDataGrandchild f_child = 5;</code> */
    public Builder mergeFChild(com.google.showcase.v1beta1.ComplianceDataGrandchild value) {
      if (fChildBuilder_ == null) {
        if (((bitField0_ & 0x00000020) != 0)
            && fChild_ != null
            && fChild_
                != com.google.showcase.v1beta1.ComplianceDataGrandchild.getDefaultInstance()) {
          getFChildBuilder().mergeFrom(value);
        } else {
          fChild_ = value;
        }
      } else {
        fChildBuilder_.mergeFrom(value);
      }
      if (fChild_ != null) {
        bitField0_ |= 0x00000020;
        onChanged();
      }
      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceDataGrandchild f_child = 5;</code> */
    public Builder clearFChild() {
      bitField0_ = (bitField0_ & ~0x00000020);
      fChild_ = null;
      if (fChildBuilder_ != null) {
        fChildBuilder_.dispose();
        fChildBuilder_ = null;
      }
      onChanged();
      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceDataGrandchild f_child = 5;</code> */
    public com.google.showcase.v1beta1.ComplianceDataGrandchild.Builder getFChildBuilder() {
      bitField0_ |= 0x00000020;
      onChanged();
      return getFChildFieldBuilder().getBuilder();
    }

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

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

    private java.lang.Object pString_ = "";

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

    /**
     * <code>optional string p_string = 6;</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 = 6;</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 = 6;</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();
      }
      pString_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }

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

    /**
     * <code>optional string p_string = 6;</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);
      pString_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }

    private float pFloat_;

    /**
     * <code>optional float p_float = 7;</code>
     *
     * @return Whether the pFloat field is set.
     */
    @java.lang.Override
    public boolean hasPFloat() {
      return ((bitField0_ & 0x00000080) != 0);
    }

    /**
     * <code>optional float p_float = 7;</code>
     *
     * @return The pFloat.
     */
    @java.lang.Override
    public float getPFloat() {
      return pFloat_;
    }

    /**
     * <code>optional float p_float = 7;</code>
     *
     * @param value The pFloat to set.
     * @return This builder for chaining.
     */
    public Builder setPFloat(float value) {

      pFloat_ = value;
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }

    /**
     * <code>optional float p_float = 7;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearPFloat() {
      bitField0_ = (bitField0_ & ~0x00000080);
      pFloat_ = 0F;
      onChanged();
      return this;
    }

    private double pDouble_;

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

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

    /**
     * <code>optional double p_double = 8;</code>
     *
     * @param value The pDouble to set.
     * @return This builder for chaining.
     */
    public Builder setPDouble(double value) {

      pDouble_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }

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

    private boolean pBool_;

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

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

    /**
     * <code>optional bool p_bool = 9;</code>
     *
     * @param value The pBool to set.
     * @return This builder for chaining.
     */
    public Builder setPBool(boolean value) {

      pBool_ = value;
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }

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

    private int pContinent_ = 0;

    /**
     * <code>.google.showcase.v1beta1.Continent p_continent = 12;</code>
     *
     * @return The enum numeric value on the wire for pContinent.
     */
    @java.lang.Override
    public int getPContinentValue() {
      return pContinent_;
    }

    /**
     * <code>.google.showcase.v1beta1.Continent p_continent = 12;</code>
     *
     * @param value The enum numeric value on the wire for pContinent to set.
     * @return This builder for chaining.
     */
    public Builder setPContinentValue(int value) {
      pContinent_ = value;
      bitField0_ |= 0x00000400;
      onChanged();
      return this;
    }

    /**
     * <code>.google.showcase.v1beta1.Continent p_continent = 12;</code>
     *
     * @return The pContinent.
     */
    @java.lang.Override
    public com.google.showcase.v1beta1.Continent getPContinent() {
      com.google.showcase.v1beta1.Continent result =
          com.google.showcase.v1beta1.Continent.forNumber(pContinent_);
      return result == null ? com.google.showcase.v1beta1.Continent.UNRECOGNIZED : result;
    }

    /**
     * <code>.google.showcase.v1beta1.Continent p_continent = 12;</code>
     *
     * @param value The pContinent to set.
     * @return This builder for chaining.
     */
    public Builder setPContinent(com.google.showcase.v1beta1.Continent value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000400;
      pContinent_ = value.getNumber();
      onChanged();
      return this;
    }

    /**
     * <code>.google.showcase.v1beta1.Continent p_continent = 12;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearPContinent() {
      bitField0_ = (bitField0_ & ~0x00000400);
      pContinent_ = 0;
      onChanged();
      return this;
    }

    private com.google.showcase.v1beta1.ComplianceDataGrandchild pChild_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.showcase.v1beta1.ComplianceDataGrandchild,
            com.google.showcase.v1beta1.ComplianceDataGrandchild.Builder,
            com.google.showcase.v1beta1.ComplianceDataGrandchildOrBuilder>
        pChildBuilder_;

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

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

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

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

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

    /** <code>optional .google.showcase.v1beta1.ComplianceDataGrandchild p_child = 10;</code> */
    public Builder clearPChild() {
      bitField0_ = (bitField0_ & ~0x00000800);
      pChild_ = null;
      if (pChildBuilder_ != null) {
        pChildBuilder_.dispose();
        pChildBuilder_ = null;
      }
      onChanged();
      return this;
    }

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

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

    /** <code>optional .google.showcase.v1beta1.ComplianceDataGrandchild p_child = 10;</code> */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.showcase.v1beta1.ComplianceDataGrandchild,
            com.google.showcase.v1beta1.ComplianceDataGrandchild.Builder,
            com.google.showcase.v1beta1.ComplianceDataGrandchildOrBuilder>
        getPChildFieldBuilder() {
      if (pChildBuilder_ == null) {
        pChildBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.showcase.v1beta1.ComplianceDataGrandchild,
                com.google.showcase.v1beta1.ComplianceDataGrandchild.Builder,
                com.google.showcase.v1beta1.ComplianceDataGrandchildOrBuilder>(
                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.ComplianceDataChild)
  }

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

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

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

  private static final com.google.protobuf.Parser<ComplianceDataChild> PARSER =
      new com.google.protobuf.AbstractParser<ComplianceDataChild>() {
        @java.lang.Override
        public ComplianceDataChild parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          Builder builder = newBuilder();
          try {
            builder.mergeFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.setUnfinishedMessage(builder.buildPartial());
          } catch (com.google.protobuf.UninitializedMessageException e) {
            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
          } catch (java.io.IOException e) {
            throw new com.google.protobuf.InvalidProtocolBufferException(e)
                .setUnfinishedMessage(builder.buildPartial());
          }
          return builder.buildPartial();
        }
      };

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

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

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