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

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

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

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

  @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_CraftInfo_descriptor;
  }

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

  public static final int ANCHOR_GUID_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private volatile java.lang.Object anchorGuid_ = "";
  /**
   * <code>string anchor_guid = 1;</code>
   * @return The anchorGuid.
   */
  @java.lang.Override
  public java.lang.String getAnchorGuid() {
    java.lang.Object ref = anchorGuid_;
    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();
      anchorGuid_ = s;
      return s;
    }
  }
  /**
   * <code>string anchor_guid = 1;</code>
   * @return The bytes for anchorGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAnchorGuidBytes() {
    java.lang.Object ref = anchorGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      anchorGuid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CRAFTMETAID_FIELD_NUMBER = 2;
  private int craftMetaId_ = 0;
  /**
   * <code>int32 craftMetaId = 2;</code>
   * @return The craftMetaId.
   */
  @java.lang.Override
  public int getCraftMetaId() {
    return craftMetaId_;
  }

  public static final int CRAFTSTARTTIME_FIELD_NUMBER = 3;
  private com.google.protobuf.Timestamp craftStartTime_;
  /**
   * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
   * @return Whether the craftStartTime field is set.
   */
  @java.lang.Override
  public boolean hasCraftStartTime() {
    return craftStartTime_ != null;
  }
  /**
   * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
   * @return The craftStartTime.
   */
  @java.lang.Override
  public com.google.protobuf.Timestamp getCraftStartTime() {
    return craftStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftStartTime_;
  }
  /**
   * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
   */
  @java.lang.Override
  public com.google.protobuf.TimestampOrBuilder getCraftStartTimeOrBuilder() {
    return craftStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftStartTime_;
  }

  public static final int CRAFTFINISHTIME_FIELD_NUMBER = 4;
  private com.google.protobuf.Timestamp craftFinishTime_;
  /**
   * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
   * @return Whether the craftFinishTime field is set.
   */
  @java.lang.Override
  public boolean hasCraftFinishTime() {
    return craftFinishTime_ != null;
  }
  /**
   * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
   * @return The craftFinishTime.
   */
  @java.lang.Override
  public com.google.protobuf.Timestamp getCraftFinishTime() {
    return craftFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_;
  }
  /**
   * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
   */
  @java.lang.Override
  public com.google.protobuf.TimestampOrBuilder getCraftFinishTimeOrBuilder() {
    return craftFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_;
  }

  public static final int BEACONGUID_FIELD_NUMBER = 5;
  @SuppressWarnings("serial")
  private volatile java.lang.Object beaconGuid_ = "";
  /**
   * <code>string beaconGuid = 5;</code>
   * @return The beaconGuid.
   */
  @java.lang.Override
  public java.lang.String getBeaconGuid() {
    java.lang.Object ref = beaconGuid_;
    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();
      beaconGuid_ = s;
      return s;
    }
  }
  /**
   * <code>string beaconGuid = 5;</code>
   * @return The bytes for beaconGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getBeaconGuidBytes() {
    java.lang.Object ref = beaconGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      beaconGuid_ = 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(anchorGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, anchorGuid_);
    }
    if (craftMetaId_ != 0) {
      output.writeInt32(2, craftMetaId_);
    }
    if (craftStartTime_ != null) {
      output.writeMessage(3, getCraftStartTime());
    }
    if (craftFinishTime_ != null) {
      output.writeMessage(4, getCraftFinishTime());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(beaconGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, beaconGuid_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, anchorGuid_);
    }
    if (craftMetaId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, craftMetaId_);
    }
    if (craftStartTime_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, getCraftStartTime());
    }
    if (craftFinishTime_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, getCraftFinishTime());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(beaconGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, beaconGuid_);
    }
    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.CraftInfo)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.CraftInfo other = (com.caliverse.admin.domain.RabbitMq.message.CraftInfo) obj;

    if (!getAnchorGuid()
        .equals(other.getAnchorGuid())) return false;
    if (getCraftMetaId()
        != other.getCraftMetaId()) return false;
    if (hasCraftStartTime() != other.hasCraftStartTime()) return false;
    if (hasCraftStartTime()) {
      if (!getCraftStartTime()
          .equals(other.getCraftStartTime())) return false;
    }
    if (hasCraftFinishTime() != other.hasCraftFinishTime()) return false;
    if (hasCraftFinishTime()) {
      if (!getCraftFinishTime()
          .equals(other.getCraftFinishTime())) return false;
    }
    if (!getBeaconGuid()
        .equals(other.getBeaconGuid())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + ANCHOR_GUID_FIELD_NUMBER;
    hash = (53 * hash) + getAnchorGuid().hashCode();
    hash = (37 * hash) + CRAFTMETAID_FIELD_NUMBER;
    hash = (53 * hash) + getCraftMetaId();
    if (hasCraftStartTime()) {
      hash = (37 * hash) + CRAFTSTARTTIME_FIELD_NUMBER;
      hash = (53 * hash) + getCraftStartTime().hashCode();
    }
    if (hasCraftFinishTime()) {
      hash = (37 * hash) + CRAFTFINISHTIME_FIELD_NUMBER;
      hash = (53 * hash) + getCraftFinishTime().hashCode();
    }
    hash = (37 * hash) + BEACONGUID_FIELD_NUMBER;
    hash = (53 * hash) + getBeaconGuid().hashCode();
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo 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.CraftInfo parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo 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.CraftInfo parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.CraftInfo 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.CraftInfo 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.CraftInfo 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.CraftInfo 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.CraftInfo 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.CraftInfo 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.CraftInfo 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.CraftInfo 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 CraftInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:CraftInfo)
      com.caliverse.admin.domain.RabbitMq.message.CraftInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_CraftInfo_descriptor;
    }

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      anchorGuid_ = "";
      craftMetaId_ = 0;
      craftStartTime_ = null;
      if (craftStartTimeBuilder_ != null) {
        craftStartTimeBuilder_.dispose();
        craftStartTimeBuilder_ = null;
      }
      craftFinishTime_ = null;
      if (craftFinishTimeBuilder_ != null) {
        craftFinishTimeBuilder_.dispose();
        craftFinishTimeBuilder_ = null;
      }
      beaconGuid_ = "";
      return this;
    }

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

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

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

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

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.CraftInfo result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.anchorGuid_ = anchorGuid_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.craftMetaId_ = craftMetaId_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.craftStartTime_ = craftStartTimeBuilder_ == null
            ? craftStartTime_
            : craftStartTimeBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.craftFinishTime_ = craftFinishTimeBuilder_ == null
            ? craftFinishTime_
            : craftFinishTimeBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.beaconGuid_ = beaconGuid_;
      }
    }

    @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.CraftInfo) {
        return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.CraftInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.CraftInfo other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.CraftInfo.getDefaultInstance()) return this;
      if (!other.getAnchorGuid().isEmpty()) {
        anchorGuid_ = other.anchorGuid_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (other.getCraftMetaId() != 0) {
        setCraftMetaId(other.getCraftMetaId());
      }
      if (other.hasCraftStartTime()) {
        mergeCraftStartTime(other.getCraftStartTime());
      }
      if (other.hasCraftFinishTime()) {
        mergeCraftFinishTime(other.getCraftFinishTime());
      }
      if (!other.getBeaconGuid().isEmpty()) {
        beaconGuid_ = other.beaconGuid_;
        bitField0_ |= 0x00000010;
        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: {
              anchorGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 16: {
              craftMetaId_ = input.readInt32();
              bitField0_ |= 0x00000002;
              break;
            } // case 16
            case 26: {
              input.readMessage(
                  getCraftStartTimeFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            case 34: {
              input.readMessage(
                  getCraftFinishTimeFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 42: {
              beaconGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private java.lang.Object anchorGuid_ = "";
    /**
     * <code>string anchor_guid = 1;</code>
     * @return The anchorGuid.
     */
    public java.lang.String getAnchorGuid() {
      java.lang.Object ref = anchorGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        anchorGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string anchor_guid = 1;</code>
     * @return The bytes for anchorGuid.
     */
    public com.google.protobuf.ByteString
        getAnchorGuidBytes() {
      java.lang.Object ref = anchorGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        anchorGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string anchor_guid = 1;</code>
     * @param value The anchorGuid to set.
     * @return This builder for chaining.
     */
    public Builder setAnchorGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      anchorGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <code>string anchor_guid = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearAnchorGuid() {
      anchorGuid_ = getDefaultInstance().getAnchorGuid();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * <code>string anchor_guid = 1;</code>
     * @param value The bytes for anchorGuid to set.
     * @return This builder for chaining.
     */
    public Builder setAnchorGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      anchorGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private int craftMetaId_ ;
    /**
     * <code>int32 craftMetaId = 2;</code>
     * @return The craftMetaId.
     */
    @java.lang.Override
    public int getCraftMetaId() {
      return craftMetaId_;
    }
    /**
     * <code>int32 craftMetaId = 2;</code>
     * @param value The craftMetaId to set.
     * @return This builder for chaining.
     */
    public Builder setCraftMetaId(int value) {
      
      craftMetaId_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>int32 craftMetaId = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearCraftMetaId() {
      bitField0_ = (bitField0_ & ~0x00000002);
      craftMetaId_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.Timestamp craftStartTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> craftStartTimeBuilder_;
    /**
     * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
     * @return Whether the craftStartTime field is set.
     */
    public boolean hasCraftStartTime() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
     * @return The craftStartTime.
     */
    public com.google.protobuf.Timestamp getCraftStartTime() {
      if (craftStartTimeBuilder_ == null) {
        return craftStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftStartTime_;
      } else {
        return craftStartTimeBuilder_.getMessage();
      }
    }
    /**
     * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
     */
    public Builder setCraftStartTime(com.google.protobuf.Timestamp value) {
      if (craftStartTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        craftStartTime_ = value;
      } else {
        craftStartTimeBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
     */
    public Builder setCraftStartTime(
        com.google.protobuf.Timestamp.Builder builderForValue) {
      if (craftStartTimeBuilder_ == null) {
        craftStartTime_ = builderForValue.build();
      } else {
        craftStartTimeBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
     */
    public Builder mergeCraftStartTime(com.google.protobuf.Timestamp value) {
      if (craftStartTimeBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0) &&
          craftStartTime_ != null &&
          craftStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
          getCraftStartTimeBuilder().mergeFrom(value);
        } else {
          craftStartTime_ = value;
        }
      } else {
        craftStartTimeBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
     */
    public Builder clearCraftStartTime() {
      bitField0_ = (bitField0_ & ~0x00000004);
      craftStartTime_ = null;
      if (craftStartTimeBuilder_ != null) {
        craftStartTimeBuilder_.dispose();
        craftStartTimeBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
     */
    public com.google.protobuf.Timestamp.Builder getCraftStartTimeBuilder() {
      bitField0_ |= 0x00000004;
      onChanged();
      return getCraftStartTimeFieldBuilder().getBuilder();
    }
    /**
     * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
     */
    public com.google.protobuf.TimestampOrBuilder getCraftStartTimeOrBuilder() {
      if (craftStartTimeBuilder_ != null) {
        return craftStartTimeBuilder_.getMessageOrBuilder();
      } else {
        return craftStartTime_ == null ?
            com.google.protobuf.Timestamp.getDefaultInstance() : craftStartTime_;
      }
    }
    /**
     * <code>.google.protobuf.Timestamp craftStartTime = 3;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
        getCraftStartTimeFieldBuilder() {
      if (craftStartTimeBuilder_ == null) {
        craftStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                getCraftStartTime(),
                getParentForChildren(),
                isClean());
        craftStartTime_ = null;
      }
      return craftStartTimeBuilder_;
    }

    private com.google.protobuf.Timestamp craftFinishTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> craftFinishTimeBuilder_;
    /**
     * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
     * @return Whether the craftFinishTime field is set.
     */
    public boolean hasCraftFinishTime() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
     * @return The craftFinishTime.
     */
    public com.google.protobuf.Timestamp getCraftFinishTime() {
      if (craftFinishTimeBuilder_ == null) {
        return craftFinishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_;
      } else {
        return craftFinishTimeBuilder_.getMessage();
      }
    }
    /**
     * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
     */
    public Builder setCraftFinishTime(com.google.protobuf.Timestamp value) {
      if (craftFinishTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        craftFinishTime_ = value;
      } else {
        craftFinishTimeBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
     */
    public Builder setCraftFinishTime(
        com.google.protobuf.Timestamp.Builder builderForValue) {
      if (craftFinishTimeBuilder_ == null) {
        craftFinishTime_ = builderForValue.build();
      } else {
        craftFinishTimeBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
     */
    public Builder mergeCraftFinishTime(com.google.protobuf.Timestamp value) {
      if (craftFinishTimeBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0) &&
          craftFinishTime_ != null &&
          craftFinishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
          getCraftFinishTimeBuilder().mergeFrom(value);
        } else {
          craftFinishTime_ = value;
        }
      } else {
        craftFinishTimeBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
     */
    public Builder clearCraftFinishTime() {
      bitField0_ = (bitField0_ & ~0x00000008);
      craftFinishTime_ = null;
      if (craftFinishTimeBuilder_ != null) {
        craftFinishTimeBuilder_.dispose();
        craftFinishTimeBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
     */
    public com.google.protobuf.Timestamp.Builder getCraftFinishTimeBuilder() {
      bitField0_ |= 0x00000008;
      onChanged();
      return getCraftFinishTimeFieldBuilder().getBuilder();
    }
    /**
     * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
     */
    public com.google.protobuf.TimestampOrBuilder getCraftFinishTimeOrBuilder() {
      if (craftFinishTimeBuilder_ != null) {
        return craftFinishTimeBuilder_.getMessageOrBuilder();
      } else {
        return craftFinishTime_ == null ?
            com.google.protobuf.Timestamp.getDefaultInstance() : craftFinishTime_;
      }
    }
    /**
     * <code>.google.protobuf.Timestamp craftFinishTime = 4;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
        getCraftFinishTimeFieldBuilder() {
      if (craftFinishTimeBuilder_ == null) {
        craftFinishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                getCraftFinishTime(),
                getParentForChildren(),
                isClean());
        craftFinishTime_ = null;
      }
      return craftFinishTimeBuilder_;
    }

    private java.lang.Object beaconGuid_ = "";
    /**
     * <code>string beaconGuid = 5;</code>
     * @return The beaconGuid.
     */
    public java.lang.String getBeaconGuid() {
      java.lang.Object ref = beaconGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        beaconGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string beaconGuid = 5;</code>
     * @return The bytes for beaconGuid.
     */
    public com.google.protobuf.ByteString
        getBeaconGuidBytes() {
      java.lang.Object ref = beaconGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        beaconGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string beaconGuid = 5;</code>
     * @param value The beaconGuid to set.
     * @return This builder for chaining.
     */
    public Builder setBeaconGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      beaconGuid_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>string beaconGuid = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearBeaconGuid() {
      beaconGuid_ = getDefaultInstance().getBeaconGuid();
      bitField0_ = (bitField0_ & ~0x00000010);
      onChanged();
      return this;
    }
    /**
     * <code>string beaconGuid = 5;</code>
     * @param value The bytes for beaconGuid to set.
     * @return This builder for chaining.
     */
    public Builder setBeaconGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      beaconGuid_ = value;
      bitField0_ |= 0x00000010;
      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:CraftInfo)
  }

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

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

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

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

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

}

