/*
 * Copyright 2026 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!
// NO CHECKED-IN PROTOBUF GENCODE
// source: schema/google/showcase/v1beta1/compliance.proto
// Protobuf Java Version: 4.33.2

package com.google.showcase.v1beta1;

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

  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
        /* major= */ 4,
        /* minor= */ 33,
        /* patch= */ 2,
        /* suffix= */ "",
        "RepeatRequest");
  }

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

  private RepeatRequest() {
    name_ = "";
    intendedBindingUri_ = "";
  }

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

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

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

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

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

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

  public static final int INFO_FIELD_NUMBER = 2;
  private com.google.showcase.v1beta1.ComplianceData info_;

  /**
   * <code>.google.showcase.v1beta1.ComplianceData info = 2;</code>
   *
   * @return Whether the info field is set.
   */
  @java.lang.Override
  public boolean hasInfo() {
    return ((bitField0_ & 0x00000001) != 0);
  }

  /**
   * <code>.google.showcase.v1beta1.ComplianceData info = 2;</code>
   *
   * @return The info.
   */
  @java.lang.Override
  public com.google.showcase.v1beta1.ComplianceData getInfo() {
    return info_ == null ? com.google.showcase.v1beta1.ComplianceData.getDefaultInstance() : info_;
  }

  /** <code>.google.showcase.v1beta1.ComplianceData info = 2;</code> */
  @java.lang.Override
  public com.google.showcase.v1beta1.ComplianceDataOrBuilder getInfoOrBuilder() {
    return info_ == null ? com.google.showcase.v1beta1.ComplianceData.getDefaultInstance() : info_;
  }

  public static final int SERVER_VERIFY_FIELD_NUMBER = 3;
  private boolean serverVerify_ = false;

  /**
   *
   *
   * <pre>
   * If true, the server will verify that the received request matches
   * the request with the same name in the compliance test suite.
   * </pre>
   *
   * <code>bool server_verify = 3;</code>
   *
   * @return The serverVerify.
   */
  @java.lang.Override
  public boolean getServerVerify() {
    return serverVerify_;
  }

  public static final int INTENDED_BINDING_URI_FIELD_NUMBER = 10;

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

  /**
   *
   *
   * <pre>
   * The URI template this request is expected to be bound to server-side.
   * </pre>
   *
   * <code>optional string intended_binding_uri = 10;</code>
   *
   * @return Whether the intendedBindingUri field is set.
   */
  @java.lang.Override
  public boolean hasIntendedBindingUri() {
    return ((bitField0_ & 0x00000002) != 0);
  }

  /**
   *
   *
   * <pre>
   * The URI template this request is expected to be bound to server-side.
   * </pre>
   *
   * <code>optional string intended_binding_uri = 10;</code>
   *
   * @return The intendedBindingUri.
   */
  @java.lang.Override
  public java.lang.String getIntendedBindingUri() {
    java.lang.Object ref = intendedBindingUri_;
    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();
      intendedBindingUri_ = s;
      return s;
    }
  }

  /**
   *
   *
   * <pre>
   * The URI template this request is expected to be bound to server-side.
   * </pre>
   *
   * <code>optional string intended_binding_uri = 10;</code>
   *
   * @return The bytes for intendedBindingUri.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getIntendedBindingUriBytes() {
    java.lang.Object ref = intendedBindingUri_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      intendedBindingUri_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int F_INT32_FIELD_NUMBER = 4;
  private int fInt32_ = 0;

  /**
   *
   *
   * <pre>
   * Some top level fields, to test that these are encoded correctly
   * in query params.
   * </pre>
   *
   * <code>int32 f_int32 = 4;</code>
   *
   * @return The fInt32.
   */
  @java.lang.Override
  public int getFInt32() {
    return fInt32_;
  }

  public static final int F_INT64_FIELD_NUMBER = 5;
  private long fInt64_ = 0L;

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

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

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

  public static final int P_INT32_FIELD_NUMBER = 7;
  private int pInt32_ = 0;

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

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

  public static final int P_INT64_FIELD_NUMBER = 8;
  private long pInt64_ = 0L;

  /**
   * <code>optional int64 p_int64 = 8;</code>
   *
   * @return Whether the pInt64 field is set.
   */
  @java.lang.Override
  public boolean hasPInt64() {
    return ((bitField0_ & 0x00000008) != 0);
  }

  /**
   * <code>optional int64 p_int64 = 8;</code>
   *
   * @return The pInt64.
   */
  @java.lang.Override
  public long getPInt64() {
    return pInt64_;
  }

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

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

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

  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.GeneratedMessage.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(2, getInfo());
    }
    if (serverVerify_ != false) {
      output.writeBool(3, serverVerify_);
    }
    if (fInt32_ != 0) {
      output.writeInt32(4, fInt32_);
    }
    if (fInt64_ != 0L) {
      output.writeInt64(5, fInt64_);
    }
    if (java.lang.Double.doubleToRawLongBits(fDouble_) != 0) {
      output.writeDouble(6, fDouble_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeInt32(7, pInt32_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      output.writeInt64(8, pInt64_);
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      output.writeDouble(9, pDouble_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      com.google.protobuf.GeneratedMessage.writeString(output, 10, intendedBindingUri_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInfo());
    }
    if (serverVerify_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, serverVerify_);
    }
    if (fInt32_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, fInt32_);
    }
    if (fInt64_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, fInt64_);
    }
    if (java.lang.Double.doubleToRawLongBits(fDouble_) != 0) {
      size += com.google.protobuf.CodedOutputStream.computeDoubleSize(6, fDouble_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, pInt32_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, pInt64_);
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeDoubleSize(9, pDouble_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.GeneratedMessage.computeStringSize(10, intendedBindingUri_);
    }
    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.RepeatRequest)) {
      return super.equals(obj);
    }
    com.google.showcase.v1beta1.RepeatRequest other =
        (com.google.showcase.v1beta1.RepeatRequest) obj;

    if (!getName().equals(other.getName())) return false;
    if (hasInfo() != other.hasInfo()) return false;
    if (hasInfo()) {
      if (!getInfo().equals(other.getInfo())) return false;
    }
    if (getServerVerify() != other.getServerVerify()) return false;
    if (hasIntendedBindingUri() != other.hasIntendedBindingUri()) return false;
    if (hasIntendedBindingUri()) {
      if (!getIntendedBindingUri().equals(other.getIntendedBindingUri())) return false;
    }
    if (getFInt32() != other.getFInt32()) return false;
    if (getFInt64() != other.getFInt64()) return false;
    if (java.lang.Double.doubleToLongBits(getFDouble())
        != java.lang.Double.doubleToLongBits(other.getFDouble())) return false;
    if (hasPInt32() != other.hasPInt32()) return false;
    if (hasPInt32()) {
      if (getPInt32() != other.getPInt32()) return false;
    }
    if (hasPInt64() != other.hasPInt64()) return false;
    if (hasPInt64()) {
      if (getPInt64() != other.getPInt64()) 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 (!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) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    if (hasInfo()) {
      hash = (37 * hash) + INFO_FIELD_NUMBER;
      hash = (53 * hash) + getInfo().hashCode();
    }
    hash = (37 * hash) + SERVER_VERIFY_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getServerVerify());
    if (hasIntendedBindingUri()) {
      hash = (37 * hash) + INTENDED_BINDING_URI_FIELD_NUMBER;
      hash = (53 * hash) + getIntendedBindingUri().hashCode();
    }
    hash = (37 * hash) + F_INT32_FIELD_NUMBER;
    hash = (53 * hash) + getFInt32();
    hash = (37 * hash) + F_INT64_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFInt64());
    hash = (37 * hash) + F_DOUBLE_FIELD_NUMBER;
    hash =
        (53 * hash)
            + com.google.protobuf.Internal.hashLong(
                java.lang.Double.doubleToLongBits(getFDouble()));
    if (hasPInt32()) {
      hash = (37 * hash) + P_INT32_FIELD_NUMBER;
      hash = (53 * hash) + getPInt32();
    }
    if (hasPInt64()) {
      hash = (37 * hash) + P_INT64_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPInt64());
    }
    if (hasPDouble()) {
      hash = (37 * hash) + P_DOUBLE_FIELD_NUMBER;
      hash =
          (53 * hash)
              + com.google.protobuf.Internal.hashLong(
                  java.lang.Double.doubleToLongBits(getPDouble()));
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

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

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

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

  public static com.google.showcase.v1beta1.RepeatRequest parseDelimitedFrom(
      java.io.InputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
  }

  public static com.google.showcase.v1beta1.RepeatRequest parseDelimitedFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.showcase.v1beta1.RepeatRequest parseFrom(
      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
  }

  public static com.google.showcase.v1beta1.RepeatRequest parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage.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.RepeatRequest 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.GeneratedMessage.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }

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

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

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

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

    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        internalGetInfoFieldBuilder();
      }
    }

    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      name_ = "";
      info_ = null;
      if (infoBuilder_ != null) {
        infoBuilder_.dispose();
        infoBuilder_ = null;
      }
      serverVerify_ = false;
      intendedBindingUri_ = "";
      fInt32_ = 0;
      fInt64_ = 0L;
      fDouble_ = 0D;
      pInt32_ = 0;
      pInt64_ = 0L;
      pDouble_ = 0D;
      return this;
    }

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

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

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

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

    private void buildPartial0(com.google.showcase.v1beta1.RepeatRequest result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.name_ = name_;
      }
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.info_ = infoBuilder_ == null ? info_ : infoBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.serverVerify_ = serverVerify_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.intendedBindingUri_ = intendedBindingUri_;
        to_bitField0_ |= 0x00000002;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.fInt32_ = fInt32_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.fInt64_ = fInt64_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.fDouble_ = fDouble_;
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.pInt32_ = pInt32_;
        to_bitField0_ |= 0x00000004;
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        result.pInt64_ = pInt64_;
        to_bitField0_ |= 0x00000008;
      }
      if (((from_bitField0_ & 0x00000200) != 0)) {
        result.pDouble_ = pDouble_;
        to_bitField0_ |= 0x00000010;
      }
      result.bitField0_ |= to_bitField0_;
    }

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

    public Builder mergeFrom(com.google.showcase.v1beta1.RepeatRequest other) {
      if (other == com.google.showcase.v1beta1.RepeatRequest.getDefaultInstance()) return this;
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (other.hasInfo()) {
        mergeInfo(other.getInfo());
      }
      if (other.getServerVerify() != false) {
        setServerVerify(other.getServerVerify());
      }
      if (other.hasIntendedBindingUri()) {
        intendedBindingUri_ = other.intendedBindingUri_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (other.getFInt32() != 0) {
        setFInt32(other.getFInt32());
      }
      if (other.getFInt64() != 0L) {
        setFInt64(other.getFInt64());
      }
      if (java.lang.Double.doubleToRawLongBits(other.getFDouble()) != 0) {
        setFDouble(other.getFDouble());
      }
      if (other.hasPInt32()) {
        setPInt32(other.getPInt32());
      }
      if (other.hasPInt64()) {
        setPInt64(other.getPInt64());
      }
      if (other.hasPDouble()) {
        setPDouble(other.getPDouble());
      }
      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:
              {
                name_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
            case 18:
              {
                input.readMessage(internalGetInfoFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 18
            case 24:
              {
                serverVerify_ = input.readBool();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
            case 32:
              {
                fInt32_ = input.readInt32();
                bitField0_ |= 0x00000010;
                break;
              } // case 32
            case 40:
              {
                fInt64_ = input.readInt64();
                bitField0_ |= 0x00000020;
                break;
              } // case 40
            case 49:
              {
                fDouble_ = input.readDouble();
                bitField0_ |= 0x00000040;
                break;
              } // case 49
            case 56:
              {
                pInt32_ = input.readInt32();
                bitField0_ |= 0x00000080;
                break;
              } // case 56
            case 64:
              {
                pInt64_ = input.readInt64();
                bitField0_ |= 0x00000100;
                break;
              } // case 64
            case 73:
              {
                pDouble_ = input.readDouble();
                bitField0_ |= 0x00000200;
                break;
              } // case 73
            case 82:
              {
                intendedBindingUri_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000008;
                break;
              } // case 82
            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 name_ = "";

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

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

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

    /**
     * <code>string name = 1;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearName() {
      name_ = getDefaultInstance().getName();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }

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

    private com.google.showcase.v1beta1.ComplianceData info_;
    private com.google.protobuf.SingleFieldBuilder<
            com.google.showcase.v1beta1.ComplianceData,
            com.google.showcase.v1beta1.ComplianceData.Builder,
            com.google.showcase.v1beta1.ComplianceDataOrBuilder>
        infoBuilder_;

    /**
     * <code>.google.showcase.v1beta1.ComplianceData info = 2;</code>
     *
     * @return Whether the info field is set.
     */
    public boolean hasInfo() {
      return ((bitField0_ & 0x00000002) != 0);
    }

    /**
     * <code>.google.showcase.v1beta1.ComplianceData info = 2;</code>
     *
     * @return The info.
     */
    public com.google.showcase.v1beta1.ComplianceData getInfo() {
      if (infoBuilder_ == null) {
        return info_ == null
            ? com.google.showcase.v1beta1.ComplianceData.getDefaultInstance()
            : info_;
      } else {
        return infoBuilder_.getMessage();
      }
    }

    /** <code>.google.showcase.v1beta1.ComplianceData info = 2;</code> */
    public Builder setInfo(com.google.showcase.v1beta1.ComplianceData value) {
      if (infoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        info_ = value;
      } else {
        infoBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceData info = 2;</code> */
    public Builder setInfo(com.google.showcase.v1beta1.ComplianceData.Builder builderForValue) {
      if (infoBuilder_ == null) {
        info_ = builderForValue.build();
      } else {
        infoBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceData info = 2;</code> */
    public Builder mergeInfo(com.google.showcase.v1beta1.ComplianceData value) {
      if (infoBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)
            && info_ != null
            && info_ != com.google.showcase.v1beta1.ComplianceData.getDefaultInstance()) {
          getInfoBuilder().mergeFrom(value);
        } else {
          info_ = value;
        }
      } else {
        infoBuilder_.mergeFrom(value);
      }
      if (info_ != null) {
        bitField0_ |= 0x00000002;
        onChanged();
      }
      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceData info = 2;</code> */
    public Builder clearInfo() {
      bitField0_ = (bitField0_ & ~0x00000002);
      info_ = null;
      if (infoBuilder_ != null) {
        infoBuilder_.dispose();
        infoBuilder_ = null;
      }
      onChanged();
      return this;
    }

    /** <code>.google.showcase.v1beta1.ComplianceData info = 2;</code> */
    public com.google.showcase.v1beta1.ComplianceData.Builder getInfoBuilder() {
      bitField0_ |= 0x00000002;
      onChanged();
      return internalGetInfoFieldBuilder().getBuilder();
    }

    /** <code>.google.showcase.v1beta1.ComplianceData info = 2;</code> */
    public com.google.showcase.v1beta1.ComplianceDataOrBuilder getInfoOrBuilder() {
      if (infoBuilder_ != null) {
        return infoBuilder_.getMessageOrBuilder();
      } else {
        return info_ == null
            ? com.google.showcase.v1beta1.ComplianceData.getDefaultInstance()
            : info_;
      }
    }

    /** <code>.google.showcase.v1beta1.ComplianceData info = 2;</code> */
    private com.google.protobuf.SingleFieldBuilder<
            com.google.showcase.v1beta1.ComplianceData,
            com.google.showcase.v1beta1.ComplianceData.Builder,
            com.google.showcase.v1beta1.ComplianceDataOrBuilder>
        internalGetInfoFieldBuilder() {
      if (infoBuilder_ == null) {
        infoBuilder_ =
            new com.google.protobuf.SingleFieldBuilder<
                com.google.showcase.v1beta1.ComplianceData,
                com.google.showcase.v1beta1.ComplianceData.Builder,
                com.google.showcase.v1beta1.ComplianceDataOrBuilder>(
                getInfo(), getParentForChildren(), isClean());
        info_ = null;
      }
      return infoBuilder_;
    }

    private boolean serverVerify_;

    /**
     *
     *
     * <pre>
     * If true, the server will verify that the received request matches
     * the request with the same name in the compliance test suite.
     * </pre>
     *
     * <code>bool server_verify = 3;</code>
     *
     * @return The serverVerify.
     */
    @java.lang.Override
    public boolean getServerVerify() {
      return serverVerify_;
    }

    /**
     *
     *
     * <pre>
     * If true, the server will verify that the received request matches
     * the request with the same name in the compliance test suite.
     * </pre>
     *
     * <code>bool server_verify = 3;</code>
     *
     * @param value The serverVerify to set.
     * @return This builder for chaining.
     */
    public Builder setServerVerify(boolean value) {

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

    /**
     *
     *
     * <pre>
     * If true, the server will verify that the received request matches
     * the request with the same name in the compliance test suite.
     * </pre>
     *
     * <code>bool server_verify = 3;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearServerVerify() {
      bitField0_ = (bitField0_ & ~0x00000004);
      serverVerify_ = false;
      onChanged();
      return this;
    }

    private java.lang.Object intendedBindingUri_ = "";

    /**
     *
     *
     * <pre>
     * The URI template this request is expected to be bound to server-side.
     * </pre>
     *
     * <code>optional string intended_binding_uri = 10;</code>
     *
     * @return Whether the intendedBindingUri field is set.
     */
    public boolean hasIntendedBindingUri() {
      return ((bitField0_ & 0x00000008) != 0);
    }

    /**
     *
     *
     * <pre>
     * The URI template this request is expected to be bound to server-side.
     * </pre>
     *
     * <code>optional string intended_binding_uri = 10;</code>
     *
     * @return The intendedBindingUri.
     */
    public java.lang.String getIntendedBindingUri() {
      java.lang.Object ref = intendedBindingUri_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        intendedBindingUri_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }

    /**
     *
     *
     * <pre>
     * The URI template this request is expected to be bound to server-side.
     * </pre>
     *
     * <code>optional string intended_binding_uri = 10;</code>
     *
     * @return The bytes for intendedBindingUri.
     */
    public com.google.protobuf.ByteString getIntendedBindingUriBytes() {
      java.lang.Object ref = intendedBindingUri_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        intendedBindingUri_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    /**
     *
     *
     * <pre>
     * The URI template this request is expected to be bound to server-side.
     * </pre>
     *
     * <code>optional string intended_binding_uri = 10;</code>
     *
     * @param value The intendedBindingUri to set.
     * @return This builder for chaining.
     */
    public Builder setIntendedBindingUri(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      intendedBindingUri_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }

    /**
     *
     *
     * <pre>
     * The URI template this request is expected to be bound to server-side.
     * </pre>
     *
     * <code>optional string intended_binding_uri = 10;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearIntendedBindingUri() {
      intendedBindingUri_ = getDefaultInstance().getIntendedBindingUri();
      bitField0_ = (bitField0_ & ~0x00000008);
      onChanged();
      return this;
    }

    /**
     *
     *
     * <pre>
     * The URI template this request is expected to be bound to server-side.
     * </pre>
     *
     * <code>optional string intended_binding_uri = 10;</code>
     *
     * @param value The bytes for intendedBindingUri to set.
     * @return This builder for chaining.
     */
    public Builder setIntendedBindingUriBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      intendedBindingUri_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }

    private int fInt32_;

    /**
     *
     *
     * <pre>
     * Some top level fields, to test that these are encoded correctly
     * in query params.
     * </pre>
     *
     * <code>int32 f_int32 = 4;</code>
     *
     * @return The fInt32.
     */
    @java.lang.Override
    public int getFInt32() {
      return fInt32_;
    }

    /**
     *
     *
     * <pre>
     * Some top level fields, to test that these are encoded correctly
     * in query params.
     * </pre>
     *
     * <code>int32 f_int32 = 4;</code>
     *
     * @param value The fInt32 to set.
     * @return This builder for chaining.
     */
    public Builder setFInt32(int value) {

      fInt32_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }

    /**
     *
     *
     * <pre>
     * Some top level fields, to test that these are encoded correctly
     * in query params.
     * </pre>
     *
     * <code>int32 f_int32 = 4;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFInt32() {
      bitField0_ = (bitField0_ & ~0x00000010);
      fInt32_ = 0;
      onChanged();
      return this;
    }

    private long fInt64_;

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

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

      fInt64_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }

    /**
     * <code>int64 f_int64 = 5;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearFInt64() {
      bitField0_ = (bitField0_ & ~0x00000020);
      fInt64_ = 0L;
      onChanged();
      return this;
    }

    private double fDouble_;

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

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

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

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

    private int pInt32_;

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

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

    /**
     * <code>optional int32 p_int32 = 7;</code>
     *
     * @param value The pInt32 to set.
     * @return This builder for chaining.
     */
    public Builder setPInt32(int value) {

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

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

    private long pInt64_;

    /**
     * <code>optional int64 p_int64 = 8;</code>
     *
     * @return Whether the pInt64 field is set.
     */
    @java.lang.Override
    public boolean hasPInt64() {
      return ((bitField0_ & 0x00000100) != 0);
    }

    /**
     * <code>optional int64 p_int64 = 8;</code>
     *
     * @return The pInt64.
     */
    @java.lang.Override
    public long getPInt64() {
      return pInt64_;
    }

    /**
     * <code>optional int64 p_int64 = 8;</code>
     *
     * @param value The pInt64 to set.
     * @return This builder for chaining.
     */
    public Builder setPInt64(long value) {

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

    /**
     * <code>optional int64 p_int64 = 8;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearPInt64() {
      bitField0_ = (bitField0_ & ~0x00000100);
      pInt64_ = 0L;
      onChanged();
      return this;
    }

    private double pDouble_;

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

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

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

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

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

    // @@protoc_insertion_point(builder_scope:google.showcase.v1beta1.RepeatRequest)
  }

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

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

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

  private static final com.google.protobuf.Parser<RepeatRequest> PARSER =
      new com.google.protobuf.AbstractParser<RepeatRequest>() {
        @java.lang.Override
        public RepeatRequest 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<RepeatRequest> parser() {
    return PARSER;
  }

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

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