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

net.wicp.tams.common.grpc.connector.RespInfo Maven / Gradle / Ivy

There is a newer version: 3.6.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: Connector.proto

package net.wicp.tams.common.grpc.connector;

/**
 * Protobuf type {@code connector.RespInfo}
 */
public  final class RespInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:connector.RespInfo)
    RespInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use RespInfo.newBuilder() to construct.
  private RespInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private RespInfo() {
    receiptSystem_ = "";
    receiptApplication_ = "";
    msgId_ = "";
    msgIdResp_ = "";
  }

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

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

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

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

            msgIdResp_ = s;
            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 net.wicp.tams.common.grpc.connector.ConnectorProto.internal_static_connector_RespInfo_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return net.wicp.tams.common.grpc.connector.ConnectorProto.internal_static_connector_RespInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            net.wicp.tams.common.grpc.connector.RespInfo.class, net.wicp.tams.common.grpc.connector.RespInfo.Builder.class);
  }

  public static final int RECEIPTSYSTEM_FIELD_NUMBER = 1;
  private volatile java.lang.Object receiptSystem_;
  /**
   * string receiptSystem = 1;
   */
  public java.lang.String getReceiptSystem() {
    java.lang.Object ref = receiptSystem_;
    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();
      receiptSystem_ = s;
      return s;
    }
  }
  /**
   * string receiptSystem = 1;
   */
  public com.google.protobuf.ByteString
      getReceiptSystemBytes() {
    java.lang.Object ref = receiptSystem_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      receiptSystem_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RECEIPTAPPLICATION_FIELD_NUMBER = 2;
  private volatile java.lang.Object receiptApplication_;
  /**
   * string receiptApplication = 2;
   */
  public java.lang.String getReceiptApplication() {
    java.lang.Object ref = receiptApplication_;
    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();
      receiptApplication_ = s;
      return s;
    }
  }
  /**
   * string receiptApplication = 2;
   */
  public com.google.protobuf.ByteString
      getReceiptApplicationBytes() {
    java.lang.Object ref = receiptApplication_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      receiptApplication_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MSGID_FIELD_NUMBER = 3;
  private volatile java.lang.Object msgId_;
  /**
   * string msgId = 3;
   */
  public java.lang.String getMsgId() {
    java.lang.Object ref = msgId_;
    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();
      msgId_ = s;
      return s;
    }
  }
  /**
   * string msgId = 3;
   */
  public com.google.protobuf.ByteString
      getMsgIdBytes() {
    java.lang.Object ref = msgId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      msgId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MSGIDRESP_FIELD_NUMBER = 4;
  private volatile java.lang.Object msgIdResp_;
  /**
   * string msgIdResp = 4;
   */
  public java.lang.String getMsgIdResp() {
    java.lang.Object ref = msgIdResp_;
    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();
      msgIdResp_ = s;
      return s;
    }
  }
  /**
   * string msgIdResp = 4;
   */
  public com.google.protobuf.ByteString
      getMsgIdRespBytes() {
    java.lang.Object ref = msgIdResp_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      msgIdResp_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  private byte memoizedIsInitialized = -1;
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!getReceiptSystemBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, receiptSystem_);
    }
    if (!getReceiptApplicationBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, receiptApplication_);
    }
    if (!getMsgIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, msgId_);
    }
    if (!getMsgIdRespBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, msgIdResp_);
    }
    unknownFields.writeTo(output);
  }

  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!getReceiptSystemBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, receiptSystem_);
    }
    if (!getReceiptApplicationBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, receiptApplication_);
    }
    if (!getMsgIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, msgId_);
    }
    if (!getMsgIdRespBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, msgIdResp_);
    }
    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 net.wicp.tams.common.grpc.connector.RespInfo)) {
      return super.equals(obj);
    }
    net.wicp.tams.common.grpc.connector.RespInfo other = (net.wicp.tams.common.grpc.connector.RespInfo) obj;

    boolean result = true;
    result = result && getReceiptSystem()
        .equals(other.getReceiptSystem());
    result = result && getReceiptApplication()
        .equals(other.getReceiptApplication());
    result = result && getMsgId()
        .equals(other.getMsgId());
    result = result && getMsgIdResp()
        .equals(other.getMsgIdResp());
    result = result && unknownFields.equals(other.unknownFields);
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + RECEIPTSYSTEM_FIELD_NUMBER;
    hash = (53 * hash) + getReceiptSystem().hashCode();
    hash = (37 * hash) + RECEIPTAPPLICATION_FIELD_NUMBER;
    hash = (53 * hash) + getReceiptApplication().hashCode();
    hash = (37 * hash) + MSGID_FIELD_NUMBER;
    hash = (53 * hash) + getMsgId().hashCode();
    hash = (37 * hash) + MSGIDRESP_FIELD_NUMBER;
    hash = (53 * hash) + getMsgIdResp().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static net.wicp.tams.common.grpc.connector.RespInfo parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static net.wicp.tams.common.grpc.connector.RespInfo parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static net.wicp.tams.common.grpc.connector.RespInfo parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static net.wicp.tams.common.grpc.connector.RespInfo parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static net.wicp.tams.common.grpc.connector.RespInfo parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static net.wicp.tams.common.grpc.connector.RespInfo parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static net.wicp.tams.common.grpc.connector.RespInfo parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static net.wicp.tams.common.grpc.connector.RespInfo 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 net.wicp.tams.common.grpc.connector.RespInfo parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static net.wicp.tams.common.grpc.connector.RespInfo 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 net.wicp.tams.common.grpc.connector.RespInfo parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static net.wicp.tams.common.grpc.connector.RespInfo parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(net.wicp.tams.common.grpc.connector.RespInfo prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  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 connector.RespInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:connector.RespInfo)
      net.wicp.tams.common.grpc.connector.RespInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return net.wicp.tams.common.grpc.connector.ConnectorProto.internal_static_connector_RespInfo_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return net.wicp.tams.common.grpc.connector.ConnectorProto.internal_static_connector_RespInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              net.wicp.tams.common.grpc.connector.RespInfo.class, net.wicp.tams.common.grpc.connector.RespInfo.Builder.class);
    }

    // Construct using net.wicp.tams.common.grpc.connector.RespInfo.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    public Builder clear() {
      super.clear();
      receiptSystem_ = "";

      receiptApplication_ = "";

      msgId_ = "";

      msgIdResp_ = "";

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return net.wicp.tams.common.grpc.connector.ConnectorProto.internal_static_connector_RespInfo_descriptor;
    }

    public net.wicp.tams.common.grpc.connector.RespInfo getDefaultInstanceForType() {
      return net.wicp.tams.common.grpc.connector.RespInfo.getDefaultInstance();
    }

    public net.wicp.tams.common.grpc.connector.RespInfo build() {
      net.wicp.tams.common.grpc.connector.RespInfo result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    public net.wicp.tams.common.grpc.connector.RespInfo buildPartial() {
      net.wicp.tams.common.grpc.connector.RespInfo result = new net.wicp.tams.common.grpc.connector.RespInfo(this);
      result.receiptSystem_ = receiptSystem_;
      result.receiptApplication_ = receiptApplication_;
      result.msgId_ = msgId_;
      result.msgIdResp_ = msgIdResp_;
      onBuilt();
      return result;
    }

    public Builder clone() {
      return (Builder) super.clone();
    }
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return (Builder) super.setField(field, value);
    }
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return (Builder) super.clearField(field);
    }
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return (Builder) super.clearOneof(oneof);
    }
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return (Builder) super.setRepeatedField(field, index, value);
    }
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return (Builder) super.addRepeatedField(field, value);
    }
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof net.wicp.tams.common.grpc.connector.RespInfo) {
        return mergeFrom((net.wicp.tams.common.grpc.connector.RespInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(net.wicp.tams.common.grpc.connector.RespInfo other) {
      if (other == net.wicp.tams.common.grpc.connector.RespInfo.getDefaultInstance()) return this;
      if (!other.getReceiptSystem().isEmpty()) {
        receiptSystem_ = other.receiptSystem_;
        onChanged();
      }
      if (!other.getReceiptApplication().isEmpty()) {
        receiptApplication_ = other.receiptApplication_;
        onChanged();
      }
      if (!other.getMsgId().isEmpty()) {
        msgId_ = other.msgId_;
        onChanged();
      }
      if (!other.getMsgIdResp().isEmpty()) {
        msgIdResp_ = other.msgIdResp_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      net.wicp.tams.common.grpc.connector.RespInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (net.wicp.tams.common.grpc.connector.RespInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object receiptSystem_ = "";
    /**
     * string receiptSystem = 1;
     */
    public java.lang.String getReceiptSystem() {
      java.lang.Object ref = receiptSystem_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        receiptSystem_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string receiptSystem = 1;
     */
    public com.google.protobuf.ByteString
        getReceiptSystemBytes() {
      java.lang.Object ref = receiptSystem_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        receiptSystem_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string receiptSystem = 1;
     */
    public Builder setReceiptSystem(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      receiptSystem_ = value;
      onChanged();
      return this;
    }
    /**
     * string receiptSystem = 1;
     */
    public Builder clearReceiptSystem() {
      
      receiptSystem_ = getDefaultInstance().getReceiptSystem();
      onChanged();
      return this;
    }
    /**
     * string receiptSystem = 1;
     */
    public Builder setReceiptSystemBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      receiptSystem_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object receiptApplication_ = "";
    /**
     * string receiptApplication = 2;
     */
    public java.lang.String getReceiptApplication() {
      java.lang.Object ref = receiptApplication_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        receiptApplication_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string receiptApplication = 2;
     */
    public com.google.protobuf.ByteString
        getReceiptApplicationBytes() {
      java.lang.Object ref = receiptApplication_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        receiptApplication_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string receiptApplication = 2;
     */
    public Builder setReceiptApplication(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      receiptApplication_ = value;
      onChanged();
      return this;
    }
    /**
     * string receiptApplication = 2;
     */
    public Builder clearReceiptApplication() {
      
      receiptApplication_ = getDefaultInstance().getReceiptApplication();
      onChanged();
      return this;
    }
    /**
     * string receiptApplication = 2;
     */
    public Builder setReceiptApplicationBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      receiptApplication_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object msgId_ = "";
    /**
     * string msgId = 3;
     */
    public java.lang.String getMsgId() {
      java.lang.Object ref = msgId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        msgId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string msgId = 3;
     */
    public com.google.protobuf.ByteString
        getMsgIdBytes() {
      java.lang.Object ref = msgId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        msgId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string msgId = 3;
     */
    public Builder setMsgId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      msgId_ = value;
      onChanged();
      return this;
    }
    /**
     * string msgId = 3;
     */
    public Builder clearMsgId() {
      
      msgId_ = getDefaultInstance().getMsgId();
      onChanged();
      return this;
    }
    /**
     * string msgId = 3;
     */
    public Builder setMsgIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      msgId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object msgIdResp_ = "";
    /**
     * string msgIdResp = 4;
     */
    public java.lang.String getMsgIdResp() {
      java.lang.Object ref = msgIdResp_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        msgIdResp_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string msgIdResp = 4;
     */
    public com.google.protobuf.ByteString
        getMsgIdRespBytes() {
      java.lang.Object ref = msgIdResp_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        msgIdResp_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string msgIdResp = 4;
     */
    public Builder setMsgIdResp(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      msgIdResp_ = value;
      onChanged();
      return this;
    }
    /**
     * string msgIdResp = 4;
     */
    public Builder clearMsgIdResp() {
      
      msgIdResp_ = getDefaultInstance().getMsgIdResp();
      onChanged();
      return this;
    }
    /**
     * string msgIdResp = 4;
     */
    public Builder setMsgIdRespBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      msgIdResp_ = value;
      onChanged();
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFieldsProto3(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:connector.RespInfo)
  }

  // @@protoc_insertion_point(class_scope:connector.RespInfo)
  private static final net.wicp.tams.common.grpc.connector.RespInfo DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new net.wicp.tams.common.grpc.connector.RespInfo();
  }

  public static net.wicp.tams.common.grpc.connector.RespInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public net.wicp.tams.common.grpc.connector.RespInfo getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy