// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: Game_Define.proto

package com.caliverse.admin.domain.RabbitMq.message;

/**
 * Protobuf type {@code FloorLinkedInfo}
 */
public final class FloorLinkedInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:FloorLinkedInfo)
    FloorLinkedInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use FloorLinkedInfo.newBuilder() to construct.
  private FloorLinkedInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private FloorLinkedInfo() {
    ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FloorLinkedInfo_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FloorLinkedInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.class, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.Builder.class);
  }

  public static final int UGCNPCGUIDS_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private com.google.protobuf.LazyStringList ugcNpcGuids_;
  /**
   * <code>repeated string ugcNpcGuids = 1;</code>
   * @return A list containing the ugcNpcGuids.
   */
  public com.google.protobuf.ProtocolStringList
      getUgcNpcGuidsList() {
    return ugcNpcGuids_;
  }
  /**
   * <code>repeated string ugcNpcGuids = 1;</code>
   * @return The count of ugcNpcGuids.
   */
  public int getUgcNpcGuidsCount() {
    return ugcNpcGuids_.size();
  }
  /**
   * <code>repeated string ugcNpcGuids = 1;</code>
   * @param index The index of the element to return.
   * @return The ugcNpcGuids at the given index.
   */
  public java.lang.String getUgcNpcGuids(int index) {
    return ugcNpcGuids_.get(index);
  }
  /**
   * <code>repeated string ugcNpcGuids = 1;</code>
   * @param index The index of the value to return.
   * @return The bytes of the ugcNpcGuids at the given index.
   */
  public com.google.protobuf.ByteString
      getUgcNpcGuidsBytes(int index) {
    return ugcNpcGuids_.getByteString(index);
  }

  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 {
    for (int i = 0; i < ugcNpcGuids_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ugcNpcGuids_.getRaw(i));
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    {
      int dataSize = 0;
      for (int i = 0; i < ugcNpcGuids_.size(); i++) {
        dataSize += computeStringSizeNoTag(ugcNpcGuids_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getUgcNpcGuidsList().size();
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo other = (com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo) obj;

    if (!getUgcNpcGuidsList()
        .equals(other.getUgcNpcGuidsList())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (getUgcNpcGuidsCount() > 0) {
      hash = (37 * hash) + UGCNPCGUIDS_FIELD_NUMBER;
      hash = (53 * hash) + getUgcNpcGuidsList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo 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.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo 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.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo 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.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo 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 FloorLinkedInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:FloorLinkedInfo)
      com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FloorLinkedInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FloorLinkedInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.class, com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.Builder.class);
    }

    // Construct using com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.newBuilder()
    private Builder() {

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000001);
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_FloorLinkedInfo_descriptor;
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getDefaultInstanceForType() {
      return com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.getDefaultInstance();
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo build() {
      com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo buildPartial() {
      com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo result = new com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo result) {
      if (((bitField0_ & 0x00000001) != 0)) {
        ugcNpcGuids_ = ugcNpcGuids_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.ugcNpcGuids_ = ugcNpcGuids_;
    }

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo result) {
      int from_bitField0_ = bitField0_;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo) {
        return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo.getDefaultInstance()) return this;
      if (!other.ugcNpcGuids_.isEmpty()) {
        if (ugcNpcGuids_.isEmpty()) {
          ugcNpcGuids_ = other.ugcNpcGuids_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensureUgcNpcGuidsIsMutable();
          ugcNpcGuids_.addAll(other.ugcNpcGuids_);
        }
        onChanged();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

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

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();
              ensureUgcNpcGuidsIsMutable();
              ugcNpcGuids_.add(s);
              break;
            } // case 10
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.LazyStringList ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureUgcNpcGuidsIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        ugcNpcGuids_ = new com.google.protobuf.LazyStringArrayList(ugcNpcGuids_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * <code>repeated string ugcNpcGuids = 1;</code>
     * @return A list containing the ugcNpcGuids.
     */
    public com.google.protobuf.ProtocolStringList
        getUgcNpcGuidsList() {
      return ugcNpcGuids_.getUnmodifiableView();
    }
    /**
     * <code>repeated string ugcNpcGuids = 1;</code>
     * @return The count of ugcNpcGuids.
     */
    public int getUgcNpcGuidsCount() {
      return ugcNpcGuids_.size();
    }
    /**
     * <code>repeated string ugcNpcGuids = 1;</code>
     * @param index The index of the element to return.
     * @return The ugcNpcGuids at the given index.
     */
    public java.lang.String getUgcNpcGuids(int index) {
      return ugcNpcGuids_.get(index);
    }
    /**
     * <code>repeated string ugcNpcGuids = 1;</code>
     * @param index The index of the value to return.
     * @return The bytes of the ugcNpcGuids at the given index.
     */
    public com.google.protobuf.ByteString
        getUgcNpcGuidsBytes(int index) {
      return ugcNpcGuids_.getByteString(index);
    }
    /**
     * <code>repeated string ugcNpcGuids = 1;</code>
     * @param index The index to set the value at.
     * @param value The ugcNpcGuids to set.
     * @return This builder for chaining.
     */
    public Builder setUgcNpcGuids(
        int index, java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ensureUgcNpcGuidsIsMutable();
      ugcNpcGuids_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string ugcNpcGuids = 1;</code>
     * @param value The ugcNpcGuids to add.
     * @return This builder for chaining.
     */
    public Builder addUgcNpcGuids(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ensureUgcNpcGuidsIsMutable();
      ugcNpcGuids_.add(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string ugcNpcGuids = 1;</code>
     * @param values The ugcNpcGuids to add.
     * @return This builder for chaining.
     */
    public Builder addAllUgcNpcGuids(
        java.lang.Iterable<java.lang.String> values) {
      ensureUgcNpcGuidsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, ugcNpcGuids_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string ugcNpcGuids = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearUgcNpcGuids() {
      ugcNpcGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string ugcNpcGuids = 1;</code>
     * @param value The bytes of the ugcNpcGuids to add.
     * @return This builder for chaining.
     */
    public Builder addUgcNpcGuidsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      ensureUgcNpcGuidsIsMutable();
      ugcNpcGuids_.add(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:FloorLinkedInfo)
  }

  // @@protoc_insertion_point(class_scope:FloorLinkedInfo)
  private static final com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo();
  }

  public static com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.FloorLinkedInfo getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

