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

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

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

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

  @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.DefineCommon.internal_static_UgcAnchorInfo_descriptor;
  }

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

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

  public static final int TABLEID_FIELD_NUMBER = 3;
  private int tableId_ = 0;
  /**
   * <code>int32 tableId = 3;</code>
   * @return The tableId.
   */
  @java.lang.Override
  public int getTableId() {
    return tableId_;
  }

  public static final int ENTITYGUID_FIELD_NUMBER = 4;
  @SuppressWarnings("serial")
  private volatile java.lang.Object entityGuid_ = "";
  /**
   * <code>string entityGuid = 4;</code>
   * @return The entityGuid.
   */
  @java.lang.Override
  public java.lang.String getEntityGuid() {
    java.lang.Object ref = entityGuid_;
    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();
      entityGuid_ = s;
      return s;
    }
  }
  /**
   * <code>string entityGuid = 4;</code>
   * @return The bytes for entityGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEntityGuidBytes() {
    java.lang.Object ref = entityGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      entityGuid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int COORDINATE_FIELD_NUMBER = 5;
  private com.caliverse.admin.domain.RabbitMq.message.Coordinate coordinate_;
  /**
   * <code>.Coordinate coordinate = 5;</code>
   * @return Whether the coordinate field is set.
   */
  @java.lang.Override
  public boolean hasCoordinate() {
    return coordinate_ != null;
  }
  /**
   * <code>.Coordinate coordinate = 5;</code>
   * @return The coordinate.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.Coordinate getCoordinate() {
    return coordinate_ == null ? com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_;
  }
  /**
   * <code>.Coordinate coordinate = 5;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder getCoordinateOrBuilder() {
    return coordinate_ == null ? com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_;
  }

  public static final int ROTATION_FIELD_NUMBER = 6;
  private com.caliverse.admin.domain.RabbitMq.message.Rotation rotation_;
  /**
   * <code>.Rotation rotation = 6;</code>
   * @return Whether the rotation field is set.
   */
  @java.lang.Override
  public boolean hasRotation() {
    return rotation_ != null;
  }
  /**
   * <code>.Rotation rotation = 6;</code>
   * @return The rotation.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.Rotation getRotation() {
    return rotation_ == null ? com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_;
  }
  /**
   * <code>.Rotation rotation = 6;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder getRotationOrBuilder() {
    return rotation_ == null ? com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_;
  }

  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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, anchorType_);
    }
    if (tableId_ != 0) {
      output.writeInt32(3, tableId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, entityGuid_);
    }
    if (coordinate_ != null) {
      output.writeMessage(5, getCoordinate());
    }
    if (rotation_ != null) {
      output.writeMessage(6, getRotation());
    }
    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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(anchorType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, anchorType_);
    }
    if (tableId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, tableId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, entityGuid_);
    }
    if (coordinate_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getCoordinate());
    }
    if (rotation_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, getRotation());
    }
    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.UgcAnchorInfo)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo other = (com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo) obj;

    if (!getAnchorGuid()
        .equals(other.getAnchorGuid())) return false;
    if (!getAnchorType()
        .equals(other.getAnchorType())) return false;
    if (getTableId()
        != other.getTableId()) return false;
    if (!getEntityGuid()
        .equals(other.getEntityGuid())) return false;
    if (hasCoordinate() != other.hasCoordinate()) return false;
    if (hasCoordinate()) {
      if (!getCoordinate()
          .equals(other.getCoordinate())) return false;
    }
    if (hasRotation() != other.hasRotation()) return false;
    if (hasRotation()) {
      if (!getRotation()
          .equals(other.getRotation())) 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) + ANCHORGUID_FIELD_NUMBER;
    hash = (53 * hash) + getAnchorGuid().hashCode();
    hash = (37 * hash) + ANCHORTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getAnchorType().hashCode();
    hash = (37 * hash) + TABLEID_FIELD_NUMBER;
    hash = (53 * hash) + getTableId();
    hash = (37 * hash) + ENTITYGUID_FIELD_NUMBER;
    hash = (53 * hash) + getEntityGuid().hashCode();
    if (hasCoordinate()) {
      hash = (37 * hash) + COORDINATE_FIELD_NUMBER;
      hash = (53 * hash) + getCoordinate().hashCode();
    }
    if (hasRotation()) {
      hash = (37 * hash) + ROTATION_FIELD_NUMBER;
      hash = (53 * hash) + getRotation().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      anchorGuid_ = "";
      anchorType_ = "";
      tableId_ = 0;
      entityGuid_ = "";
      coordinate_ = null;
      if (coordinateBuilder_ != null) {
        coordinateBuilder_.dispose();
        coordinateBuilder_ = null;
      }
      rotation_ = null;
      if (rotationBuilder_ != null) {
        rotationBuilder_.dispose();
        rotationBuilder_ = null;
      }
      return this;
    }

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

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

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

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

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.anchorGuid_ = anchorGuid_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.anchorType_ = anchorType_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.tableId_ = tableId_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.entityGuid_ = entityGuid_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.coordinate_ = coordinateBuilder_ == null
            ? coordinate_
            : coordinateBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.rotation_ = rotationBuilder_ == null
            ? rotation_
            : rotationBuilder_.build();
      }
    }

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

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.UgcAnchorInfo.getDefaultInstance()) return this;
      if (!other.getAnchorGuid().isEmpty()) {
        anchorGuid_ = other.anchorGuid_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getAnchorType().isEmpty()) {
        anchorType_ = other.anchorType_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (other.getTableId() != 0) {
        setTableId(other.getTableId());
      }
      if (!other.getEntityGuid().isEmpty()) {
        entityGuid_ = other.entityGuid_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (other.hasCoordinate()) {
        mergeCoordinate(other.getCoordinate());
      }
      if (other.hasRotation()) {
        mergeRotation(other.getRotation());
      }
      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 18: {
              anchorType_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 24: {
              tableId_ = input.readInt32();
              bitField0_ |= 0x00000004;
              break;
            } // case 24
            case 34: {
              entityGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 42: {
              input.readMessage(
                  getCoordinateFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            case 50: {
              input.readMessage(
                  getRotationFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000020;
              break;
            } // case 50
            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 anchorGuid = 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 anchorGuid = 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 anchorGuid = 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 anchorGuid = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearAnchorGuid() {
      anchorGuid_ = getDefaultInstance().getAnchorGuid();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * <code>string anchorGuid = 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 java.lang.Object anchorType_ = "";
    /**
     * <code>string anchorType = 2;</code>
     * @return The anchorType.
     */
    public java.lang.String getAnchorType() {
      java.lang.Object ref = anchorType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        anchorType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string anchorType = 2;</code>
     * @return The bytes for anchorType.
     */
    public com.google.protobuf.ByteString
        getAnchorTypeBytes() {
      java.lang.Object ref = anchorType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        anchorType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string anchorType = 2;</code>
     * @param value The anchorType to set.
     * @return This builder for chaining.
     */
    public Builder setAnchorType(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      anchorType_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>string anchorType = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearAnchorType() {
      anchorType_ = getDefaultInstance().getAnchorType();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * <code>string anchorType = 2;</code>
     * @param value The bytes for anchorType to set.
     * @return This builder for chaining.
     */
    public Builder setAnchorTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      anchorType_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private int tableId_ ;
    /**
     * <code>int32 tableId = 3;</code>
     * @return The tableId.
     */
    @java.lang.Override
    public int getTableId() {
      return tableId_;
    }
    /**
     * <code>int32 tableId = 3;</code>
     * @param value The tableId to set.
     * @return This builder for chaining.
     */
    public Builder setTableId(int value) {
      
      tableId_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>int32 tableId = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearTableId() {
      bitField0_ = (bitField0_ & ~0x00000004);
      tableId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object entityGuid_ = "";
    /**
     * <code>string entityGuid = 4;</code>
     * @return The entityGuid.
     */
    public java.lang.String getEntityGuid() {
      java.lang.Object ref = entityGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        entityGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string entityGuid = 4;</code>
     * @return The bytes for entityGuid.
     */
    public com.google.protobuf.ByteString
        getEntityGuidBytes() {
      java.lang.Object ref = entityGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        entityGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string entityGuid = 4;</code>
     * @param value The entityGuid to set.
     * @return This builder for chaining.
     */
    public Builder setEntityGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      entityGuid_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>string entityGuid = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearEntityGuid() {
      entityGuid_ = getDefaultInstance().getEntityGuid();
      bitField0_ = (bitField0_ & ~0x00000008);
      onChanged();
      return this;
    }
    /**
     * <code>string entityGuid = 4;</code>
     * @param value The bytes for entityGuid to set.
     * @return This builder for chaining.
     */
    public Builder setEntityGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      entityGuid_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }

    private com.caliverse.admin.domain.RabbitMq.message.Coordinate coordinate_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.Coordinate, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder, com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder> coordinateBuilder_;
    /**
     * <code>.Coordinate coordinate = 5;</code>
     * @return Whether the coordinate field is set.
     */
    public boolean hasCoordinate() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * <code>.Coordinate coordinate = 5;</code>
     * @return The coordinate.
     */
    public com.caliverse.admin.domain.RabbitMq.message.Coordinate getCoordinate() {
      if (coordinateBuilder_ == null) {
        return coordinate_ == null ? com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_;
      } else {
        return coordinateBuilder_.getMessage();
      }
    }
    /**
     * <code>.Coordinate coordinate = 5;</code>
     */
    public Builder setCoordinate(com.caliverse.admin.domain.RabbitMq.message.Coordinate value) {
      if (coordinateBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        coordinate_ = value;
      } else {
        coordinateBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>.Coordinate coordinate = 5;</code>
     */
    public Builder setCoordinate(
        com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder builderForValue) {
      if (coordinateBuilder_ == null) {
        coordinate_ = builderForValue.build();
      } else {
        coordinateBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>.Coordinate coordinate = 5;</code>
     */
    public Builder mergeCoordinate(com.caliverse.admin.domain.RabbitMq.message.Coordinate value) {
      if (coordinateBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0) &&
          coordinate_ != null &&
          coordinate_ != com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance()) {
          getCoordinateBuilder().mergeFrom(value);
        } else {
          coordinate_ = value;
        }
      } else {
        coordinateBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>.Coordinate coordinate = 5;</code>
     */
    public Builder clearCoordinate() {
      bitField0_ = (bitField0_ & ~0x00000010);
      coordinate_ = null;
      if (coordinateBuilder_ != null) {
        coordinateBuilder_.dispose();
        coordinateBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <code>.Coordinate coordinate = 5;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder getCoordinateBuilder() {
      bitField0_ |= 0x00000010;
      onChanged();
      return getCoordinateFieldBuilder().getBuilder();
    }
    /**
     * <code>.Coordinate coordinate = 5;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder getCoordinateOrBuilder() {
      if (coordinateBuilder_ != null) {
        return coordinateBuilder_.getMessageOrBuilder();
      } else {
        return coordinate_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.Coordinate.getDefaultInstance() : coordinate_;
      }
    }
    /**
     * <code>.Coordinate coordinate = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.Coordinate, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder, com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder> 
        getCoordinateFieldBuilder() {
      if (coordinateBuilder_ == null) {
        coordinateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.Coordinate, com.caliverse.admin.domain.RabbitMq.message.Coordinate.Builder, com.caliverse.admin.domain.RabbitMq.message.CoordinateOrBuilder>(
                getCoordinate(),
                getParentForChildren(),
                isClean());
        coordinate_ = null;
      }
      return coordinateBuilder_;
    }

    private com.caliverse.admin.domain.RabbitMq.message.Rotation rotation_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.Rotation, com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder, com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder> rotationBuilder_;
    /**
     * <code>.Rotation rotation = 6;</code>
     * @return Whether the rotation field is set.
     */
    public boolean hasRotation() {
      return ((bitField0_ & 0x00000020) != 0);
    }
    /**
     * <code>.Rotation rotation = 6;</code>
     * @return The rotation.
     */
    public com.caliverse.admin.domain.RabbitMq.message.Rotation getRotation() {
      if (rotationBuilder_ == null) {
        return rotation_ == null ? com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_;
      } else {
        return rotationBuilder_.getMessage();
      }
    }
    /**
     * <code>.Rotation rotation = 6;</code>
     */
    public Builder setRotation(com.caliverse.admin.domain.RabbitMq.message.Rotation value) {
      if (rotationBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        rotation_ = value;
      } else {
        rotationBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * <code>.Rotation rotation = 6;</code>
     */
    public Builder setRotation(
        com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder builderForValue) {
      if (rotationBuilder_ == null) {
        rotation_ = builderForValue.build();
      } else {
        rotationBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * <code>.Rotation rotation = 6;</code>
     */
    public Builder mergeRotation(com.caliverse.admin.domain.RabbitMq.message.Rotation value) {
      if (rotationBuilder_ == null) {
        if (((bitField0_ & 0x00000020) != 0) &&
          rotation_ != null &&
          rotation_ != com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance()) {
          getRotationBuilder().mergeFrom(value);
        } else {
          rotation_ = value;
        }
      } else {
        rotationBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * <code>.Rotation rotation = 6;</code>
     */
    public Builder clearRotation() {
      bitField0_ = (bitField0_ & ~0x00000020);
      rotation_ = null;
      if (rotationBuilder_ != null) {
        rotationBuilder_.dispose();
        rotationBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <code>.Rotation rotation = 6;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder getRotationBuilder() {
      bitField0_ |= 0x00000020;
      onChanged();
      return getRotationFieldBuilder().getBuilder();
    }
    /**
     * <code>.Rotation rotation = 6;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder getRotationOrBuilder() {
      if (rotationBuilder_ != null) {
        return rotationBuilder_.getMessageOrBuilder();
      } else {
        return rotation_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.Rotation.getDefaultInstance() : rotation_;
      }
    }
    /**
     * <code>.Rotation rotation = 6;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.Rotation, com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder, com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder> 
        getRotationFieldBuilder() {
      if (rotationBuilder_ == null) {
        rotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.Rotation, com.caliverse.admin.domain.RabbitMq.message.Rotation.Builder, com.caliverse.admin.domain.RabbitMq.message.RotationOrBuilder>(
                getRotation(),
                getParentForChildren(),
                isClean());
        rotation_ = null;
      }
      return rotationBuilder_;
    }
    @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:UgcAnchorInfo)
  }

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

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

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

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

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

}

