@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof org.apache.hadoop.hive.ql.io.protobuf.SampleProtos.MapFieldEntry)) {
        return super.equals(obj);
      }
      org.apache.hadoop.hive.ql.io.protobuf.SampleProtos.MapFieldEntry other = (org.apache.hadoop.hive.ql.io.protobuf.SampleProtos.MapFieldEntry) obj;

      if (hasKey() != other.hasKey()) return false;
      if (hasKey()) {
        if (!getKey()
            .equals(other.getKey())) return false;
      }
      if (hasValue() != other.hasValue()) return false;
      if (hasValue()) {
        if (!getValue()
            .equals(other.getValue())) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<code>optional string value = 2;</code>
@return The bytes for value.
ql/src/gen/protobuf/gen-test/org/apache/hadoop/hive/ql/io/protobuf/SampleProtos.java