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

com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService Maven / Gradle / Ivy

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

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

public final class BqInterestService {
  private BqInterestService() {}
  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 RetrieveInterestRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.RetrieveInterestRequest)
      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 interestId = 2;
     * @return The interestId.
     */
    java.lang.String getInterestId();
    /**
     * string interestId = 2;
     * @return The bytes for interestId.
     */
    com.google.protobuf.ByteString
        getInterestIdBytes();
  }
  /**
   * Protobuf type {@code com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.RetrieveInterestRequest}
   */
  public static final class RetrieveInterestRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.RetrieveInterestRequest)
      RetrieveInterestRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use RetrieveInterestRequest.newBuilder() to construct.
    private RetrieveInterestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private RetrieveInterestRequest() {
      merchandisingloanId_ = "";
      interestId_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private RetrieveInterestRequest(
        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();

              interestId_ = 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.bqinterestservice.BqInterestService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_RetrieveInterestRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_RetrieveInterestRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest.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 INTERESTID_FIELD_NUMBER = 2;
    private volatile java.lang.Object interestId_;
    /**
     * string interestId = 2;
     * @return The interestId.
     */
    @java.lang.Override
    public java.lang.String getInterestId() {
      java.lang.Object ref = interestId_;
      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();
        interestId_ = s;
        return s;
      }
    }
    /**
     * string interestId = 2;
     * @return The bytes for interestId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getInterestIdBytes() {
      java.lang.Object ref = interestId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        interestId_ = 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(interestId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, interestId_);
      }
      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(interestId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, interestId_);
      }
      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.bqinterestservice.BqInterestService.RetrieveInterestRequest)) {
        return super.equals(obj);
      }
      com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest other = (com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest) obj;

      if (!getMerchandisingloanId()
          .equals(other.getMerchandisingloanId())) return false;
      if (!getInterestId()
          .equals(other.getInterestId())) 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) + INTERESTID_FIELD_NUMBER;
      hash = (53 * hash) + getInterestId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest 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.bqinterestservice.BqInterestService.RetrieveInterestRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest 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.bqinterestservice.BqInterestService.RetrieveInterestRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest 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.bqinterestservice.BqInterestService.RetrieveInterestRequest 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.bqinterestservice.BqInterestService.RetrieveInterestRequest 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.bqinterestservice.BqInterestService.RetrieveInterestRequest 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.bqinterestservice.BqInterestService.RetrieveInterestRequest 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.bqinterestservice.BqInterestService.RetrieveInterestRequest 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.bqinterestservice.BqInterestService.RetrieveInterestRequest 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.bqinterestservice.BqInterestService.RetrieveInterestRequest 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.bqinterestservice.RetrieveInterestRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.RetrieveInterestRequest)
        com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_RetrieveInterestRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_RetrieveInterestRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest.Builder.class);
      }

      // Construct using com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest.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_ = "";

        interestId_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_RetrieveInterestRequest_descriptor;
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest getDefaultInstanceForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest buildPartial() {
        com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest result = new com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest(this);
        result.merchandisingloanId_ = merchandisingloanId_;
        result.interestId_ = interestId_;
        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.bqinterestservice.BqInterestService.RetrieveInterestRequest) {
          return mergeFrom((com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest other) {
        if (other == com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest.getDefaultInstance()) return this;
        if (!other.getMerchandisingloanId().isEmpty()) {
          merchandisingloanId_ = other.merchandisingloanId_;
          onChanged();
        }
        if (!other.getInterestId().isEmpty()) {
          interestId_ = other.interestId_;
          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.bqinterestservice.BqInterestService.RetrieveInterestRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest) 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 interestId_ = "";
      /**
       * string interestId = 2;
       * @return The interestId.
       */
      public java.lang.String getInterestId() {
        java.lang.Object ref = interestId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          interestId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string interestId = 2;
       * @return The bytes for interestId.
       */
      public com.google.protobuf.ByteString
          getInterestIdBytes() {
        java.lang.Object ref = interestId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          interestId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string interestId = 2;
       * @param value The interestId to set.
       * @return This builder for chaining.
       */
      public Builder setInterestId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        interestId_ = value;
        onChanged();
        return this;
      }
      /**
       * string interestId = 2;
       * @return This builder for chaining.
       */
      public Builder clearInterestId() {
        
        interestId_ = getDefaultInstance().getInterestId();
        onChanged();
        return this;
      }
      /**
       * string interestId = 2;
       * @param value The bytes for interestId to set.
       * @return This builder for chaining.
       */
      public Builder setInterestIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        interestId_ = 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.bqinterestservice.RetrieveInterestRequest)
    }

    // @@protoc_insertion_point(class_scope:com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.RetrieveInterestRequest)
    private static final com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest();
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public RetrieveInterestRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new RetrieveInterestRequest(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.bqinterestservice.BqInterestService.RetrieveInterestRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface UpdateInterestRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.UpdateInterestRequest)
      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 interestId = 2;
     * @return The interestId.
     */
    java.lang.String getInterestId();
    /**
     * string interestId = 2;
     * @return The bytes for interestId.
     */
    com.google.protobuf.ByteString
        getInterestIdBytes();

    /**
     * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
     * @return Whether the interest field is set.
     */
    boolean hasInterest();
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
     * @return The interest.
     */
    com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest getInterest();
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
     */
    com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.InterestOrBuilder getInterestOrBuilder();
  }
  /**
   * Protobuf type {@code com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.UpdateInterestRequest}
   */
  public static final class UpdateInterestRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.UpdateInterestRequest)
      UpdateInterestRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use UpdateInterestRequest.newBuilder() to construct.
    private UpdateInterestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private UpdateInterestRequest() {
      merchandisingloanId_ = "";
      interestId_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private UpdateInterestRequest(
        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();

              interestId_ = s;
              break;
            }
            case 26: {
              com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest.Builder subBuilder = null;
              if (interest_ != null) {
                subBuilder = interest_.toBuilder();
              }
              interest_ = input.readMessage(com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(interest_);
                interest_ = 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.bqinterestservice.BqInterestService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_UpdateInterestRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_UpdateInterestRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest.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 INTERESTID_FIELD_NUMBER = 2;
    private volatile java.lang.Object interestId_;
    /**
     * string interestId = 2;
     * @return The interestId.
     */
    @java.lang.Override
    public java.lang.String getInterestId() {
      java.lang.Object ref = interestId_;
      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();
        interestId_ = s;
        return s;
      }
    }
    /**
     * string interestId = 2;
     * @return The bytes for interestId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getInterestIdBytes() {
      java.lang.Object ref = interestId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        interestId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int INTEREST_FIELD_NUMBER = 3;
    private com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest interest_;
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
     * @return Whether the interest field is set.
     */
    @java.lang.Override
    public boolean hasInterest() {
      return interest_ != null;
    }
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
     * @return The interest.
     */
    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest getInterest() {
      return interest_ == null ? com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest.getDefaultInstance() : interest_;
    }
    /**
     * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
     */
    @java.lang.Override
    public com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.InterestOrBuilder getInterestOrBuilder() {
      return getInterest();
    }

    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(interestId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, interestId_);
      }
      if (interest_ != null) {
        output.writeMessage(3, getInterest());
      }
      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(interestId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, interestId_);
      }
      if (interest_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getInterest());
      }
      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.bqinterestservice.BqInterestService.UpdateInterestRequest)) {
        return super.equals(obj);
      }
      com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest other = (com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest) obj;

      if (!getMerchandisingloanId()
          .equals(other.getMerchandisingloanId())) return false;
      if (!getInterestId()
          .equals(other.getInterestId())) return false;
      if (hasInterest() != other.hasInterest()) return false;
      if (hasInterest()) {
        if (!getInterest()
            .equals(other.getInterest())) 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) + INTERESTID_FIELD_NUMBER;
      hash = (53 * hash) + getInterestId().hashCode();
      if (hasInterest()) {
        hash = (37 * hash) + INTEREST_FIELD_NUMBER;
        hash = (53 * hash) + getInterest().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest 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.bqinterestservice.BqInterestService.UpdateInterestRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest 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.bqinterestservice.BqInterestService.UpdateInterestRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest 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.bqinterestservice.BqInterestService.UpdateInterestRequest 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.bqinterestservice.BqInterestService.UpdateInterestRequest 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.bqinterestservice.BqInterestService.UpdateInterestRequest 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.bqinterestservice.BqInterestService.UpdateInterestRequest 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.bqinterestservice.BqInterestService.UpdateInterestRequest 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.bqinterestservice.BqInterestService.UpdateInterestRequest 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.bqinterestservice.BqInterestService.UpdateInterestRequest 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.bqinterestservice.UpdateInterestRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.UpdateInterestRequest)
        com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_UpdateInterestRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_UpdateInterestRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest.class, com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest.Builder.class);
      }

      // Construct using com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest.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_ = "";

        interestId_ = "";

        if (interestBuilder_ == null) {
          interest_ = null;
        } else {
          interest_ = null;
          interestBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_UpdateInterestRequest_descriptor;
      }

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest getDefaultInstanceForType() {
        return com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest buildPartial() {
        com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest result = new com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest(this);
        result.merchandisingloanId_ = merchandisingloanId_;
        result.interestId_ = interestId_;
        if (interestBuilder_ == null) {
          result.interest_ = interest_;
        } else {
          result.interest_ = interestBuilder_.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.bqinterestservice.BqInterestService.UpdateInterestRequest) {
          return mergeFrom((com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest other) {
        if (other == com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest.getDefaultInstance()) return this;
        if (!other.getMerchandisingloanId().isEmpty()) {
          merchandisingloanId_ = other.merchandisingloanId_;
          onChanged();
        }
        if (!other.getInterestId().isEmpty()) {
          interestId_ = other.interestId_;
          onChanged();
        }
        if (other.hasInterest()) {
          mergeInterest(other.getInterest());
        }
        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.bqinterestservice.BqInterestService.UpdateInterestRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest) 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 interestId_ = "";
      /**
       * string interestId = 2;
       * @return The interestId.
       */
      public java.lang.String getInterestId() {
        java.lang.Object ref = interestId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          interestId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string interestId = 2;
       * @return The bytes for interestId.
       */
      public com.google.protobuf.ByteString
          getInterestIdBytes() {
        java.lang.Object ref = interestId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          interestId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string interestId = 2;
       * @param value The interestId to set.
       * @return This builder for chaining.
       */
      public Builder setInterestId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        interestId_ = value;
        onChanged();
        return this;
      }
      /**
       * string interestId = 2;
       * @return This builder for chaining.
       */
      public Builder clearInterestId() {
        
        interestId_ = getDefaultInstance().getInterestId();
        onChanged();
        return this;
      }
      /**
       * string interestId = 2;
       * @param value The bytes for interestId to set.
       * @return This builder for chaining.
       */
      public Builder setInterestIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        interestId_ = value;
        onChanged();
        return this;
      }

      private com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest interest_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest, com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest.Builder, com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.InterestOrBuilder> interestBuilder_;
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
       * @return Whether the interest field is set.
       */
      public boolean hasInterest() {
        return interestBuilder_ != null || interest_ != null;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
       * @return The interest.
       */
      public com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest getInterest() {
        if (interestBuilder_ == null) {
          return interest_ == null ? com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest.getDefaultInstance() : interest_;
        } else {
          return interestBuilder_.getMessage();
        }
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
       */
      public Builder setInterest(com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest value) {
        if (interestBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          interest_ = value;
          onChanged();
        } else {
          interestBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
       */
      public Builder setInterest(
          com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest.Builder builderForValue) {
        if (interestBuilder_ == null) {
          interest_ = builderForValue.build();
          onChanged();
        } else {
          interestBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
       */
      public Builder mergeInterest(com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest value) {
        if (interestBuilder_ == null) {
          if (interest_ != null) {
            interest_ =
              com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest.newBuilder(interest_).mergeFrom(value).buildPartial();
          } else {
            interest_ = value;
          }
          onChanged();
        } else {
          interestBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
       */
      public Builder clearInterest() {
        if (interestBuilder_ == null) {
          interest_ = null;
          onChanged();
        } else {
          interest_ = null;
          interestBuilder_ = null;
        }

        return this;
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
       */
      public com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest.Builder getInterestBuilder() {
        
        onChanged();
        return getInterestFieldBuilder().getBuilder();
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
       */
      public com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.InterestOrBuilder getInterestOrBuilder() {
        if (interestBuilder_ != null) {
          return interestBuilder_.getMessageOrBuilder();
        } else {
          return interest_ == null ?
              com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest.getDefaultInstance() : interest_;
        }
      }
      /**
       * .com.redhat.mercury.merchandisingloan.v10.Interest interest = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest, com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest.Builder, com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.InterestOrBuilder> 
          getInterestFieldBuilder() {
        if (interestBuilder_ == null) {
          interestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest, com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.Interest.Builder, com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.InterestOrBuilder>(
                  getInterest(),
                  getParentForChildren(),
                  isClean());
          interest_ = null;
        }
        return interestBuilder_;
      }
      @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.bqinterestservice.UpdateInterestRequest)
    }

    // @@protoc_insertion_point(class_scope:com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.UpdateInterestRequest)
    private static final com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest();
    }

    public static com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public UpdateInterestRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new UpdateInterestRequest(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.bqinterestservice.BqInterestService.UpdateInterestRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_RetrieveInterestRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_RetrieveInterestRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_UpdateInterestRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_UpdateInterestRequest_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_interest_service.proto\022>com" +
      ".redhat.mercury.merchandisingloan.v10.ap" +
      "i.bqinterestservice\032\033google/protobuf/emp" +
      "ty.proto\032\032v10/model/http_error.proto\032\030v1" +
      "0/model/interest.proto\"J\n\027RetrieveIntere" +
      "stRequest\022\033\n\023merchandisingloanId\030\001 \001(\t\022\022" +
      "\n\ninterestId\030\002 \001(\t\"\216\001\n\025UpdateInterestReq" +
      "uest\022\033\n\023merchandisingloanId\030\001 \001(\t\022\022\n\nint" +
      "erestId\030\002 \001(\t\022D\n\010interest\030\003 \001(\01322.com.re" +
      "dhat.mercury.merchandisingloan.v10.Inter" +
      "est2\323\002\n\021BQInterestService\022\237\001\n\020RetrieveIn" +
      "terest\022W.com.redhat.mercury.merchandisin" +
      "gloan.v10.api.bqinterestservice.Retrieve" +
      "InterestRequest\0322.com.redhat.mercury.mer" +
      "chandisingloan.v10.Interest\022\233\001\n\016UpdateIn" +
      "terest\022U.com.redhat.mercury.merchandisin" +
      "gloan.v10.api.bqinterestservice.UpdateIn" +
      "terestRequest\0322.com.redhat.mercury.merch" +
      "andisingloan.v10.InterestP\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.HttpError.getDescriptor(),
          com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.getDescriptor(),
        });
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_RetrieveInterestRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_RetrieveInterestRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_RetrieveInterestRequest_descriptor,
        new java.lang.String[] { "MerchandisingloanId", "InterestId", });
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_UpdateInterestRequest_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_UpdateInterestRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_redhat_mercury_merchandisingloan_v10_api_bqinterestservice_UpdateInterestRequest_descriptor,
        new java.lang.String[] { "MerchandisingloanId", "InterestId", "Interest", });
    com.google.protobuf.EmptyProto.getDescriptor();
    com.redhat.mercury.merchandisingloan.v10.HttpError.getDescriptor();
    com.redhat.mercury.merchandisingloan.v10.InterestOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy