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

com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: v10/api/bq_collateral_service.proto

package com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice;

public final class BqCollateralService {
  private BqCollateralService() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface InitiateCollateralRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.InitiateCollateralRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string merchandisingloanId = 1;
     * @return The merchandisingloanId.
     */
    java.lang.String getMerchandisingloanId();
    /**
     * string merchandisingloanId = 1;
     * @return The bytes for merchandisingloanId.
     */
    com.google.protobuf.ByteString
        getMerchandisingloanIdBytes();

    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
     * @return Whether the collateral field is set.
     */
    boolean hasCollateral();
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
     * @return The collateral.
     */
    com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral getCollateral();
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
     */
    com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder getCollateralOrBuilder();
  }
  /**
   * Protobuf type {@code com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.InitiateCollateralRequest}
   */
  public static final class InitiateCollateralRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.InitiateCollateralRequest)
      InitiateCollateralRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use InitiateCollateralRequest.newBuilder() to construct.
    private InitiateCollateralRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private InitiateCollateralRequest() {
      merchandisingloanId_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private InitiateCollateralRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              merchandisingloanId_ = s;
              break;
            }
            case 18: {
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder subBuilder = null;
              if (collateral_ != null) {
                subBuilder = collateral_.toBuilder();
              }
              collateral_ = input.readMessage(com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(collateral_);
                collateral_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_InitiateCollateralRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_InitiateCollateralRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest.Builder.class);
    }

    public static final int MERCHANDISINGLOANID_FIELD_NUMBER = 1;
    private volatile java.lang.Object merchandisingloanId_;
    /**
     * string merchandisingloanId = 1;
     * @return The merchandisingloanId.
     */
    @java.lang.Override
    public java.lang.String getMerchandisingloanId() {
      java.lang.Object ref = merchandisingloanId_;
      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();
        merchandisingloanId_ = s;
        return s;
      }
    }
    /**
     * string merchandisingloanId = 1;
     * @return The bytes for merchandisingloanId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getMerchandisingloanIdBytes() {
      java.lang.Object ref = merchandisingloanId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        merchandisingloanId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int COLLATERAL_FIELD_NUMBER = 2;
    private com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral collateral_;
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
     * @return Whether the collateral field is set.
     */
    @java.lang.Override
    public boolean hasCollateral() {
      return collateral_ != null;
    }
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
     * @return The collateral.
     */
    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral getCollateral() {
      return collateral_ == null ? com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.getDefaultInstance() : collateral_;
    }
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
     */
    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder getCollateralOrBuilder() {
      return getCollateral();
    }

    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(merchandisingloanId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, merchandisingloanId_);
      }
      if (collateral_ != null) {
        output.writeMessage(2, getCollateral());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(merchandisingloanId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, merchandisingloanId_);
      }
      if (collateral_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getCollateral());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest)) {
        return super.equals(obj);
      }
      com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest other = (com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest) obj;

      if (!getMerchandisingloanId()
          .equals(other.getMerchandisingloanId())) return false;
      if (hasCollateral() != other.hasCollateral()) return false;
      if (hasCollateral()) {
        if (!getCollateral()
            .equals(other.getCollateral())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MERCHANDISINGLOANID_FIELD_NUMBER;
      hash = (53 * hash) + getMerchandisingloanId().hashCode();
      if (hasCollateral()) {
        hash = (37 * hash) + COLLATERAL_FIELD_NUMBER;
        hash = (53 * hash) + getCollateral().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest 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 com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.InitiateCollateralRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.InitiateCollateralRequest)
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_InitiateCollateralRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_InitiateCollateralRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest.Builder.class);
      }

      // Construct using com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        merchandisingloanId_ = "";

        if (collateralBuilder_ == null) {
          collateral_ = null;
        } else {
          collateral_ = null;
          collateralBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_InitiateCollateralRequest_descriptor;
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest getDefaultInstanceForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest.getDefaultInstance();
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest build() {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest buildPartial() {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest result = new com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest(this);
        result.merchandisingloanId_ = merchandisingloanId_;
        if (collateralBuilder_ == null) {
          result.collateral_ = collateral_;
        } else {
          result.collateral_ = collateralBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest) {
          return mergeFrom((com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest other) {
        if (other == com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest.getDefaultInstance()) return this;
        if (!other.getMerchandisingloanId().isEmpty()) {
          merchandisingloanId_ = other.merchandisingloanId_;
          onChanged();
        }
        if (other.hasCollateral()) {
          mergeCollateral(other.getCollateral());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object merchandisingloanId_ = "";
      /**
       * string merchandisingloanId = 1;
       * @return The merchandisingloanId.
       */
      public java.lang.String getMerchandisingloanId() {
        java.lang.Object ref = merchandisingloanId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          merchandisingloanId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string merchandisingloanId = 1;
       * @return The bytes for merchandisingloanId.
       */
      public com.google.protobuf.ByteString
          getMerchandisingloanIdBytes() {
        java.lang.Object ref = merchandisingloanId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          merchandisingloanId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string merchandisingloanId = 1;
       * @param value The merchandisingloanId to set.
       * @return This builder for chaining.
       */
      public Builder setMerchandisingloanId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        merchandisingloanId_ = value;
        onChanged();
        return this;
      }
      /**
       * string merchandisingloanId = 1;
       * @return This builder for chaining.
       */
      public Builder clearMerchandisingloanId() {
        
        merchandisingloanId_ = getDefaultInstance().getMerchandisingloanId();
        onChanged();
        return this;
      }
      /**
       * string merchandisingloanId = 1;
       * @param value The bytes for merchandisingloanId to set.
       * @return This builder for chaining.
       */
      public Builder setMerchandisingloanIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        merchandisingloanId_ = value;
        onChanged();
        return this;
      }

      private com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral collateral_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder> collateralBuilder_;
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
       * @return Whether the collateral field is set.
       */
      public boolean hasCollateral() {
        return collateralBuilder_ != null || collateral_ != null;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
       * @return The collateral.
       */
      public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral getCollateral() {
        if (collateralBuilder_ == null) {
          return collateral_ == null ? com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.getDefaultInstance() : collateral_;
        } else {
          return collateralBuilder_.getMessage();
        }
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
       */
      public Builder setCollateral(com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral value) {
        if (collateralBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          collateral_ = value;
          onChanged();
        } else {
          collateralBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
       */
      public Builder setCollateral(
          com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder builderForValue) {
        if (collateralBuilder_ == null) {
          collateral_ = builderForValue.build();
          onChanged();
        } else {
          collateralBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
       */
      public Builder mergeCollateral(com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral value) {
        if (collateralBuilder_ == null) {
          if (collateral_ != null) {
            collateral_ =
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.newBuilder(collateral_).mergeFrom(value).buildPartial();
          } else {
            collateral_ = value;
          }
          onChanged();
        } else {
          collateralBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
       */
      public Builder clearCollateral() {
        if (collateralBuilder_ == null) {
          collateral_ = null;
          onChanged();
        } else {
          collateral_ = null;
          collateralBuilder_ = null;
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
       */
      public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder getCollateralBuilder() {
        
        onChanged();
        return getCollateralFieldBuilder().getBuilder();
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
       */
      public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder getCollateralOrBuilder() {
        if (collateralBuilder_ != null) {
          return collateralBuilder_.getMessageOrBuilder();
        } else {
          return collateral_ == null ?
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.getDefaultInstance() : collateral_;
        }
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder> 
          getCollateralFieldBuilder() {
        if (collateralBuilder_ == null) {
          collateralBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder>(
                  getCollateral(),
                  getParentForChildren(),
                  isClean());
          collateral_ = null;
        }
        return collateralBuilder_;
      }
      @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:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.InitiateCollateralRequest)
    }

    // @@protoc_insertion_point(class_scope:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.InitiateCollateralRequest)
    private static final com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest();
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface RequestCollateralRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RequestCollateralRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string merchandisingloanId = 1;
     * @return The merchandisingloanId.
     */
    java.lang.String getMerchandisingloanId();
    /**
     * string merchandisingloanId = 1;
     * @return The bytes for merchandisingloanId.
     */
    com.google.protobuf.ByteString
        getMerchandisingloanIdBytes();

    /**
     * string collateralId = 2;
     * @return The collateralId.
     */
    java.lang.String getCollateralId();
    /**
     * string collateralId = 2;
     * @return The bytes for collateralId.
     */
    com.google.protobuf.ByteString
        getCollateralIdBytes();

    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     * @return Whether the collateral field is set.
     */
    boolean hasCollateral();
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     * @return The collateral.
     */
    com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral getCollateral();
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     */
    com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder getCollateralOrBuilder();
  }
  /**
   * Protobuf type {@code com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RequestCollateralRequest}
   */
  public static final class RequestCollateralRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RequestCollateralRequest)
      RequestCollateralRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use RequestCollateralRequest.newBuilder() to construct.
    private RequestCollateralRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private RequestCollateralRequest() {
      merchandisingloanId_ = "";
      collateralId_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private RequestCollateralRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              merchandisingloanId_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              collateralId_ = s;
              break;
            }
            case 26: {
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder subBuilder = null;
              if (collateral_ != null) {
                subBuilder = collateral_.toBuilder();
              }
              collateral_ = input.readMessage(com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(collateral_);
                collateral_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RequestCollateralRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RequestCollateralRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest.Builder.class);
    }

    public static final int MERCHANDISINGLOANID_FIELD_NUMBER = 1;
    private volatile java.lang.Object merchandisingloanId_;
    /**
     * string merchandisingloanId = 1;
     * @return The merchandisingloanId.
     */
    @java.lang.Override
    public java.lang.String getMerchandisingloanId() {
      java.lang.Object ref = merchandisingloanId_;
      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();
        merchandisingloanId_ = s;
        return s;
      }
    }
    /**
     * string merchandisingloanId = 1;
     * @return The bytes for merchandisingloanId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getMerchandisingloanIdBytes() {
      java.lang.Object ref = merchandisingloanId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        merchandisingloanId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int COLLATERALID_FIELD_NUMBER = 2;
    private volatile java.lang.Object collateralId_;
    /**
     * string collateralId = 2;
     * @return The collateralId.
     */
    @java.lang.Override
    public java.lang.String getCollateralId() {
      java.lang.Object ref = collateralId_;
      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();
        collateralId_ = s;
        return s;
      }
    }
    /**
     * string collateralId = 2;
     * @return The bytes for collateralId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getCollateralIdBytes() {
      java.lang.Object ref = collateralId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        collateralId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int COLLATERAL_FIELD_NUMBER = 3;
    private com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral collateral_;
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     * @return Whether the collateral field is set.
     */
    @java.lang.Override
    public boolean hasCollateral() {
      return collateral_ != null;
    }
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     * @return The collateral.
     */
    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral getCollateral() {
      return collateral_ == null ? com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.getDefaultInstance() : collateral_;
    }
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     */
    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder getCollateralOrBuilder() {
      return getCollateral();
    }

    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(merchandisingloanId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, merchandisingloanId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collateralId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collateralId_);
      }
      if (collateral_ != null) {
        output.writeMessage(3, getCollateral());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(merchandisingloanId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, merchandisingloanId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collateralId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collateralId_);
      }
      if (collateral_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getCollateral());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest)) {
        return super.equals(obj);
      }
      com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest other = (com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest) obj;

      if (!getMerchandisingloanId()
          .equals(other.getMerchandisingloanId())) return false;
      if (!getCollateralId()
          .equals(other.getCollateralId())) return false;
      if (hasCollateral() != other.hasCollateral()) return false;
      if (hasCollateral()) {
        if (!getCollateral()
            .equals(other.getCollateral())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MERCHANDISINGLOANID_FIELD_NUMBER;
      hash = (53 * hash) + getMerchandisingloanId().hashCode();
      hash = (37 * hash) + COLLATERALID_FIELD_NUMBER;
      hash = (53 * hash) + getCollateralId().hashCode();
      if (hasCollateral()) {
        hash = (37 * hash) + COLLATERAL_FIELD_NUMBER;
        hash = (53 * hash) + getCollateral().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest 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 com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RequestCollateralRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RequestCollateralRequest)
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RequestCollateralRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RequestCollateralRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest.Builder.class);
      }

      // Construct using com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        merchandisingloanId_ = "";

        collateralId_ = "";

        if (collateralBuilder_ == null) {
          collateral_ = null;
        } else {
          collateral_ = null;
          collateralBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RequestCollateralRequest_descriptor;
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest getDefaultInstanceForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest.getDefaultInstance();
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest build() {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest buildPartial() {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest result = new com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest(this);
        result.merchandisingloanId_ = merchandisingloanId_;
        result.collateralId_ = collateralId_;
        if (collateralBuilder_ == null) {
          result.collateral_ = collateral_;
        } else {
          result.collateral_ = collateralBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest) {
          return mergeFrom((com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest other) {
        if (other == com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest.getDefaultInstance()) return this;
        if (!other.getMerchandisingloanId().isEmpty()) {
          merchandisingloanId_ = other.merchandisingloanId_;
          onChanged();
        }
        if (!other.getCollateralId().isEmpty()) {
          collateralId_ = other.collateralId_;
          onChanged();
        }
        if (other.hasCollateral()) {
          mergeCollateral(other.getCollateral());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object merchandisingloanId_ = "";
      /**
       * string merchandisingloanId = 1;
       * @return The merchandisingloanId.
       */
      public java.lang.String getMerchandisingloanId() {
        java.lang.Object ref = merchandisingloanId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          merchandisingloanId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string merchandisingloanId = 1;
       * @return The bytes for merchandisingloanId.
       */
      public com.google.protobuf.ByteString
          getMerchandisingloanIdBytes() {
        java.lang.Object ref = merchandisingloanId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          merchandisingloanId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string merchandisingloanId = 1;
       * @param value The merchandisingloanId to set.
       * @return This builder for chaining.
       */
      public Builder setMerchandisingloanId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        merchandisingloanId_ = value;
        onChanged();
        return this;
      }
      /**
       * string merchandisingloanId = 1;
       * @return This builder for chaining.
       */
      public Builder clearMerchandisingloanId() {
        
        merchandisingloanId_ = getDefaultInstance().getMerchandisingloanId();
        onChanged();
        return this;
      }
      /**
       * string merchandisingloanId = 1;
       * @param value The bytes for merchandisingloanId to set.
       * @return This builder for chaining.
       */
      public Builder setMerchandisingloanIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        merchandisingloanId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object collateralId_ = "";
      /**
       * string collateralId = 2;
       * @return The collateralId.
       */
      public java.lang.String getCollateralId() {
        java.lang.Object ref = collateralId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          collateralId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string collateralId = 2;
       * @return The bytes for collateralId.
       */
      public com.google.protobuf.ByteString
          getCollateralIdBytes() {
        java.lang.Object ref = collateralId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          collateralId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string collateralId = 2;
       * @param value The collateralId to set.
       * @return This builder for chaining.
       */
      public Builder setCollateralId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        collateralId_ = value;
        onChanged();
        return this;
      }
      /**
       * string collateralId = 2;
       * @return This builder for chaining.
       */
      public Builder clearCollateralId() {
        
        collateralId_ = getDefaultInstance().getCollateralId();
        onChanged();
        return this;
      }
      /**
       * string collateralId = 2;
       * @param value The bytes for collateralId to set.
       * @return This builder for chaining.
       */
      public Builder setCollateralIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        collateralId_ = value;
        onChanged();
        return this;
      }

      private com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral collateral_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder> collateralBuilder_;
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       * @return Whether the collateral field is set.
       */
      public boolean hasCollateral() {
        return collateralBuilder_ != null || collateral_ != null;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       * @return The collateral.
       */
      public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral getCollateral() {
        if (collateralBuilder_ == null) {
          return collateral_ == null ? com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.getDefaultInstance() : collateral_;
        } else {
          return collateralBuilder_.getMessage();
        }
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public Builder setCollateral(com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral value) {
        if (collateralBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          collateral_ = value;
          onChanged();
        } else {
          collateralBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public Builder setCollateral(
          com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder builderForValue) {
        if (collateralBuilder_ == null) {
          collateral_ = builderForValue.build();
          onChanged();
        } else {
          collateralBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public Builder mergeCollateral(com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral value) {
        if (collateralBuilder_ == null) {
          if (collateral_ != null) {
            collateral_ =
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.newBuilder(collateral_).mergeFrom(value).buildPartial();
          } else {
            collateral_ = value;
          }
          onChanged();
        } else {
          collateralBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public Builder clearCollateral() {
        if (collateralBuilder_ == null) {
          collateral_ = null;
          onChanged();
        } else {
          collateral_ = null;
          collateralBuilder_ = null;
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder getCollateralBuilder() {
        
        onChanged();
        return getCollateralFieldBuilder().getBuilder();
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder getCollateralOrBuilder() {
        if (collateralBuilder_ != null) {
          return collateralBuilder_.getMessageOrBuilder();
        } else {
          return collateral_ == null ?
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.getDefaultInstance() : collateral_;
        }
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder> 
          getCollateralFieldBuilder() {
        if (collateralBuilder_ == null) {
          collateralBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder>(
                  getCollateral(),
                  getParentForChildren(),
                  isClean());
          collateral_ = null;
        }
        return collateralBuilder_;
      }
      @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:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RequestCollateralRequest)
    }

    // @@protoc_insertion_point(class_scope:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RequestCollateralRequest)
    private static final com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest();
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface RetrieveCollateralRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RetrieveCollateralRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string merchandisingloanId = 1;
     * @return The merchandisingloanId.
     */
    java.lang.String getMerchandisingloanId();
    /**
     * string merchandisingloanId = 1;
     * @return The bytes for merchandisingloanId.
     */
    com.google.protobuf.ByteString
        getMerchandisingloanIdBytes();

    /**
     * string collateralId = 2;
     * @return The collateralId.
     */
    java.lang.String getCollateralId();
    /**
     * string collateralId = 2;
     * @return The bytes for collateralId.
     */
    com.google.protobuf.ByteString
        getCollateralIdBytes();
  }
  /**
   * Protobuf type {@code com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RetrieveCollateralRequest}
   */
  public static final class RetrieveCollateralRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RetrieveCollateralRequest)
      RetrieveCollateralRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use RetrieveCollateralRequest.newBuilder() to construct.
    private RetrieveCollateralRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private RetrieveCollateralRequest() {
      merchandisingloanId_ = "";
      collateralId_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private RetrieveCollateralRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              merchandisingloanId_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              collateralId_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RetrieveCollateralRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RetrieveCollateralRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest.Builder.class);
    }

    public static final int MERCHANDISINGLOANID_FIELD_NUMBER = 1;
    private volatile java.lang.Object merchandisingloanId_;
    /**
     * string merchandisingloanId = 1;
     * @return The merchandisingloanId.
     */
    @java.lang.Override
    public java.lang.String getMerchandisingloanId() {
      java.lang.Object ref = merchandisingloanId_;
      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();
        merchandisingloanId_ = s;
        return s;
      }
    }
    /**
     * string merchandisingloanId = 1;
     * @return The bytes for merchandisingloanId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getMerchandisingloanIdBytes() {
      java.lang.Object ref = merchandisingloanId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        merchandisingloanId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int COLLATERALID_FIELD_NUMBER = 2;
    private volatile java.lang.Object collateralId_;
    /**
     * string collateralId = 2;
     * @return The collateralId.
     */
    @java.lang.Override
    public java.lang.String getCollateralId() {
      java.lang.Object ref = collateralId_;
      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();
        collateralId_ = s;
        return s;
      }
    }
    /**
     * string collateralId = 2;
     * @return The bytes for collateralId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getCollateralIdBytes() {
      java.lang.Object ref = collateralId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        collateralId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    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(merchandisingloanId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, merchandisingloanId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collateralId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collateralId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(merchandisingloanId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, merchandisingloanId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collateralId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collateralId_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest)) {
        return super.equals(obj);
      }
      com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest other = (com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest) obj;

      if (!getMerchandisingloanId()
          .equals(other.getMerchandisingloanId())) return false;
      if (!getCollateralId()
          .equals(other.getCollateralId())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MERCHANDISINGLOANID_FIELD_NUMBER;
      hash = (53 * hash) + getMerchandisingloanId().hashCode();
      hash = (37 * hash) + COLLATERALID_FIELD_NUMBER;
      hash = (53 * hash) + getCollateralId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest 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 com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RetrieveCollateralRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RetrieveCollateralRequest)
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RetrieveCollateralRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RetrieveCollateralRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest.Builder.class);
      }

      // Construct using com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        merchandisingloanId_ = "";

        collateralId_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RetrieveCollateralRequest_descriptor;
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest getDefaultInstanceForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest.getDefaultInstance();
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest build() {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest buildPartial() {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest result = new com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest(this);
        result.merchandisingloanId_ = merchandisingloanId_;
        result.collateralId_ = collateralId_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest) {
          return mergeFrom((com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest other) {
        if (other == com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest.getDefaultInstance()) return this;
        if (!other.getMerchandisingloanId().isEmpty()) {
          merchandisingloanId_ = other.merchandisingloanId_;
          onChanged();
        }
        if (!other.getCollateralId().isEmpty()) {
          collateralId_ = other.collateralId_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object merchandisingloanId_ = "";
      /**
       * string merchandisingloanId = 1;
       * @return The merchandisingloanId.
       */
      public java.lang.String getMerchandisingloanId() {
        java.lang.Object ref = merchandisingloanId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          merchandisingloanId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string merchandisingloanId = 1;
       * @return The bytes for merchandisingloanId.
       */
      public com.google.protobuf.ByteString
          getMerchandisingloanIdBytes() {
        java.lang.Object ref = merchandisingloanId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          merchandisingloanId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string merchandisingloanId = 1;
       * @param value The merchandisingloanId to set.
       * @return This builder for chaining.
       */
      public Builder setMerchandisingloanId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        merchandisingloanId_ = value;
        onChanged();
        return this;
      }
      /**
       * string merchandisingloanId = 1;
       * @return This builder for chaining.
       */
      public Builder clearMerchandisingloanId() {
        
        merchandisingloanId_ = getDefaultInstance().getMerchandisingloanId();
        onChanged();
        return this;
      }
      /**
       * string merchandisingloanId = 1;
       * @param value The bytes for merchandisingloanId to set.
       * @return This builder for chaining.
       */
      public Builder setMerchandisingloanIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        merchandisingloanId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object collateralId_ = "";
      /**
       * string collateralId = 2;
       * @return The collateralId.
       */
      public java.lang.String getCollateralId() {
        java.lang.Object ref = collateralId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          collateralId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string collateralId = 2;
       * @return The bytes for collateralId.
       */
      public com.google.protobuf.ByteString
          getCollateralIdBytes() {
        java.lang.Object ref = collateralId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          collateralId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string collateralId = 2;
       * @param value The collateralId to set.
       * @return This builder for chaining.
       */
      public Builder setCollateralId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        collateralId_ = value;
        onChanged();
        return this;
      }
      /**
       * string collateralId = 2;
       * @return This builder for chaining.
       */
      public Builder clearCollateralId() {
        
        collateralId_ = getDefaultInstance().getCollateralId();
        onChanged();
        return this;
      }
      /**
       * string collateralId = 2;
       * @param value The bytes for collateralId to set.
       * @return This builder for chaining.
       */
      public Builder setCollateralIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        collateralId_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RetrieveCollateralRequest)
    }

    // @@protoc_insertion_point(class_scope:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.RetrieveCollateralRequest)
    private static final com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest();
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface UpdateCollateralRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.UpdateCollateralRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string merchandisingloanId = 1;
     * @return The merchandisingloanId.
     */
    java.lang.String getMerchandisingloanId();
    /**
     * string merchandisingloanId = 1;
     * @return The bytes for merchandisingloanId.
     */
    com.google.protobuf.ByteString
        getMerchandisingloanIdBytes();

    /**
     * string collateralId = 2;
     * @return The collateralId.
     */
    java.lang.String getCollateralId();
    /**
     * string collateralId = 2;
     * @return The bytes for collateralId.
     */
    com.google.protobuf.ByteString
        getCollateralIdBytes();

    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     * @return Whether the collateral field is set.
     */
    boolean hasCollateral();
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     * @return The collateral.
     */
    com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral getCollateral();
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     */
    com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder getCollateralOrBuilder();
  }
  /**
   * Protobuf type {@code com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.UpdateCollateralRequest}
   */
  public static final class UpdateCollateralRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.UpdateCollateralRequest)
      UpdateCollateralRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use UpdateCollateralRequest.newBuilder() to construct.
    private UpdateCollateralRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private UpdateCollateralRequest() {
      merchandisingloanId_ = "";
      collateralId_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private UpdateCollateralRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              merchandisingloanId_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              collateralId_ = s;
              break;
            }
            case 26: {
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder subBuilder = null;
              if (collateral_ != null) {
                subBuilder = collateral_.toBuilder();
              }
              collateral_ = input.readMessage(com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(collateral_);
                collateral_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_UpdateCollateralRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_UpdateCollateralRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest.Builder.class);
    }

    public static final int MERCHANDISINGLOANID_FIELD_NUMBER = 1;
    private volatile java.lang.Object merchandisingloanId_;
    /**
     * string merchandisingloanId = 1;
     * @return The merchandisingloanId.
     */
    @java.lang.Override
    public java.lang.String getMerchandisingloanId() {
      java.lang.Object ref = merchandisingloanId_;
      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();
        merchandisingloanId_ = s;
        return s;
      }
    }
    /**
     * string merchandisingloanId = 1;
     * @return The bytes for merchandisingloanId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getMerchandisingloanIdBytes() {
      java.lang.Object ref = merchandisingloanId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        merchandisingloanId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int COLLATERALID_FIELD_NUMBER = 2;
    private volatile java.lang.Object collateralId_;
    /**
     * string collateralId = 2;
     * @return The collateralId.
     */
    @java.lang.Override
    public java.lang.String getCollateralId() {
      java.lang.Object ref = collateralId_;
      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();
        collateralId_ = s;
        return s;
      }
    }
    /**
     * string collateralId = 2;
     * @return The bytes for collateralId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getCollateralIdBytes() {
      java.lang.Object ref = collateralId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        collateralId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int COLLATERAL_FIELD_NUMBER = 3;
    private com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral collateral_;
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     * @return Whether the collateral field is set.
     */
    @java.lang.Override
    public boolean hasCollateral() {
      return collateral_ != null;
    }
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     * @return The collateral.
     */
    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral getCollateral() {
      return collateral_ == null ? com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.getDefaultInstance() : collateral_;
    }
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
     */
    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder getCollateralOrBuilder() {
      return getCollateral();
    }

    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(merchandisingloanId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, merchandisingloanId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collateralId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collateralId_);
      }
      if (collateral_ != null) {
        output.writeMessage(3, getCollateral());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(merchandisingloanId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, merchandisingloanId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collateralId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collateralId_);
      }
      if (collateral_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getCollateral());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest)) {
        return super.equals(obj);
      }
      com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest other = (com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest) obj;

      if (!getMerchandisingloanId()
          .equals(other.getMerchandisingloanId())) return false;
      if (!getCollateralId()
          .equals(other.getCollateralId())) return false;
      if (hasCollateral() != other.hasCollateral()) return false;
      if (hasCollateral()) {
        if (!getCollateral()
            .equals(other.getCollateral())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MERCHANDISINGLOANID_FIELD_NUMBER;
      hash = (53 * hash) + getMerchandisingloanId().hashCode();
      hash = (37 * hash) + COLLATERALID_FIELD_NUMBER;
      hash = (53 * hash) + getCollateralId().hashCode();
      if (hasCollateral()) {
        hash = (37 * hash) + COLLATERAL_FIELD_NUMBER;
        hash = (53 * hash) + getCollateral().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest 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.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest 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 com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.UpdateCollateralRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.UpdateCollateralRequest)
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_UpdateCollateralRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_UpdateCollateralRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest.Builder.class);
      }

      // Construct using com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        merchandisingloanId_ = "";

        collateralId_ = "";

        if (collateralBuilder_ == null) {
          collateral_ = null;
        } else {
          collateral_ = null;
          collateralBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_UpdateCollateralRequest_descriptor;
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest getDefaultInstanceForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest.getDefaultInstance();
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest build() {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest buildPartial() {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest result = new com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest(this);
        result.merchandisingloanId_ = merchandisingloanId_;
        result.collateralId_ = collateralId_;
        if (collateralBuilder_ == null) {
          result.collateral_ = collateral_;
        } else {
          result.collateral_ = collateralBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest) {
          return mergeFrom((com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest other) {
        if (other == com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest.getDefaultInstance()) return this;
        if (!other.getMerchandisingloanId().isEmpty()) {
          merchandisingloanId_ = other.merchandisingloanId_;
          onChanged();
        }
        if (!other.getCollateralId().isEmpty()) {
          collateralId_ = other.collateralId_;
          onChanged();
        }
        if (other.hasCollateral()) {
          mergeCollateral(other.getCollateral());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object merchandisingloanId_ = "";
      /**
       * string merchandisingloanId = 1;
       * @return The merchandisingloanId.
       */
      public java.lang.String getMerchandisingloanId() {
        java.lang.Object ref = merchandisingloanId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          merchandisingloanId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string merchandisingloanId = 1;
       * @return The bytes for merchandisingloanId.
       */
      public com.google.protobuf.ByteString
          getMerchandisingloanIdBytes() {
        java.lang.Object ref = merchandisingloanId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          merchandisingloanId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string merchandisingloanId = 1;
       * @param value The merchandisingloanId to set.
       * @return This builder for chaining.
       */
      public Builder setMerchandisingloanId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        merchandisingloanId_ = value;
        onChanged();
        return this;
      }
      /**
       * string merchandisingloanId = 1;
       * @return This builder for chaining.
       */
      public Builder clearMerchandisingloanId() {
        
        merchandisingloanId_ = getDefaultInstance().getMerchandisingloanId();
        onChanged();
        return this;
      }
      /**
       * string merchandisingloanId = 1;
       * @param value The bytes for merchandisingloanId to set.
       * @return This builder for chaining.
       */
      public Builder setMerchandisingloanIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        merchandisingloanId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object collateralId_ = "";
      /**
       * string collateralId = 2;
       * @return The collateralId.
       */
      public java.lang.String getCollateralId() {
        java.lang.Object ref = collateralId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          collateralId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string collateralId = 2;
       * @return The bytes for collateralId.
       */
      public com.google.protobuf.ByteString
          getCollateralIdBytes() {
        java.lang.Object ref = collateralId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          collateralId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string collateralId = 2;
       * @param value The collateralId to set.
       * @return This builder for chaining.
       */
      public Builder setCollateralId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        collateralId_ = value;
        onChanged();
        return this;
      }
      /**
       * string collateralId = 2;
       * @return This builder for chaining.
       */
      public Builder clearCollateralId() {
        
        collateralId_ = getDefaultInstance().getCollateralId();
        onChanged();
        return this;
      }
      /**
       * string collateralId = 2;
       * @param value The bytes for collateralId to set.
       * @return This builder for chaining.
       */
      public Builder setCollateralIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        collateralId_ = value;
        onChanged();
        return this;
      }

      private com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral collateral_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder> collateralBuilder_;
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       * @return Whether the collateral field is set.
       */
      public boolean hasCollateral() {
        return collateralBuilder_ != null || collateral_ != null;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       * @return The collateral.
       */
      public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral getCollateral() {
        if (collateralBuilder_ == null) {
          return collateral_ == null ? com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.getDefaultInstance() : collateral_;
        } else {
          return collateralBuilder_.getMessage();
        }
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public Builder setCollateral(com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral value) {
        if (collateralBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          collateral_ = value;
          onChanged();
        } else {
          collateralBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public Builder setCollateral(
          com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder builderForValue) {
        if (collateralBuilder_ == null) {
          collateral_ = builderForValue.build();
          onChanged();
        } else {
          collateralBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public Builder mergeCollateral(com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral value) {
        if (collateralBuilder_ == null) {
          if (collateral_ != null) {
            collateral_ =
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.newBuilder(collateral_).mergeFrom(value).buildPartial();
          } else {
            collateral_ = value;
          }
          onChanged();
        } else {
          collateralBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public Builder clearCollateral() {
        if (collateralBuilder_ == null) {
          collateral_ = null;
          onChanged();
        } else {
          collateral_ = null;
          collateralBuilder_ = null;
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder getCollateralBuilder() {
        
        onChanged();
        return getCollateralFieldBuilder().getBuilder();
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      public com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder getCollateralOrBuilder() {
        if (collateralBuilder_ != null) {
          return collateralBuilder_.getMessageOrBuilder();
        } else {
          return collateral_ == null ?
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.getDefaultInstance() : collateral_;
        }
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Collateral collateral = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder> 
          getCollateralFieldBuilder() {
        if (collateralBuilder_ == null) {
          collateralBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.Collateral.Builder, com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.CollateralOrBuilder>(
                  getCollateral(),
                  getParentForChildren(),
                  isClean());
          collateral_ = null;
        }
        return collateralBuilder_;
      }
      @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:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.UpdateCollateralRequest)
    }

    // @@protoc_insertion_point(class_scope:com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.UpdateCollateralRequest)
    private static final com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest();
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_InitiateCollateralRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_InitiateCollateralRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RequestCollateralRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RequestCollateralRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RetrieveCollateralRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RetrieveCollateralRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_UpdateCollateralRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_UpdateCollateralRequest_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n#v10/api/bq_collateral_service.proto\022@c" +
      "om.redhat.mercury.merchandisingloan.v10." +
      "api.bqcollateralservice\032\033google/protobuf" +
      "/empty.proto\032\032v10/model/collateral.proto" +
      "\032\032v10/model/http_error.proto\"\202\001\n\031Initiat" +
      "eCollateralRequest\022\033\n\023merchandisingloanI" +
      "d\030\001 \001(\t\022H\n\ncollateral\030\002 \001(\01324.com.redhat" +
      ".mercury.merchandisingloan.v10.Collatera" +
      "l\"\227\001\n\030RequestCollateralRequest\022\033\n\023mercha" +
      "ndisingloanId\030\001 \001(\t\022\024\n\014collateralId\030\002 \001(" +
      "\t\022H\n\ncollateral\030\003 \001(\01324.com.redhat.mercu" +
      "ry.merchandisingloan.v10.Collateral\"N\n\031R" +
      "etrieveCollateralRequest\022\033\n\023merchandisin" +
      "gloanId\030\001 \001(\t\022\024\n\014collateralId\030\002 \001(\t\"\226\001\n\027" +
      "UpdateCollateralRequest\022\033\n\023merchandising" +
      "loanId\030\001 \001(\t\022\024\n\014collateralId\030\002 \001(\t\022H\n\nco" +
      "llateral\030\003 \001(\01324.com.redhat.mercury.merc" +
      "handisingloan.v10.Collateral2\267\005\n\023BQColla" +
      "teralService\022\247\001\n\022InitiateCollateral\022[.co" +
      "m.redhat.mercury.merchandisingloan.v10.a" +
      "pi.bqcollateralservice.InitiateCollatera" +
      "lRequest\0324.com.redhat.mercury.merchandis" +
      "ingloan.v10.Collateral\022\245\001\n\021RequestCollat" +
      "eral\022Z.com.redhat.mercury.merchandisingl" +
      "oan.v10.api.bqcollateralservice.RequestC" +
      "ollateralRequest\0324.com.redhat.mercury.me" +
      "rchandisingloan.v10.Collateral\022\247\001\n\022Retri" +
      "eveCollateral\022[.com.redhat.mercury.merch" +
      "andisingloan.v10.api.bqcollateralservice" +
      ".RetrieveCollateralRequest\0324.com.redhat." +
      "mercury.merchandisingloan.v10.Collateral" +
      "\022\243\001\n\020UpdateCollateral\022Y.com.redhat.mercu" +
      "ry.merchandisingloan.v10.api.bqcollatera" +
      "lservice.UpdateCollateralRequest\0324.com.r" +
      "edhat.mercury.merchandisingloan.v10.Coll" +
      "ateralP\001P\002b\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.google.protobuf.EmptyProto.getDescriptor(),
          com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.getDescriptor(),
          com.redhat.mercury.merchandisingloan.v10.HttpError.getDescriptor(),
        });
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_InitiateCollateralRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_InitiateCollateralRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_InitiateCollateralRequest_descriptor,
        new java.lang.String[] { "MerchandisingloanId", "Collateral", });
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RequestCollateralRequest_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RequestCollateralRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RequestCollateralRequest_descriptor,
        new java.lang.String[] { "MerchandisingloanId", "CollateralId", "Collateral", });
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RetrieveCollateralRequest_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RetrieveCollateralRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_RetrieveCollateralRequest_descriptor,
        new java.lang.String[] { "MerchandisingloanId", "CollateralId", });
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_UpdateCollateralRequest_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_UpdateCollateralRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqcollateralservice_UpdateCollateralRequest_descriptor,
        new java.lang.String[] { "MerchandisingloanId", "CollateralId", "Collateral", });
    com.google.protobuf.EmptyProto.getDescriptor();
    com.redhat.mercury.merchandisingloan.v10.CollateralOuterClass.getDescriptor();
    com.redhat.mercury.merchandisingloan.v10.HttpError.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy